cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
79 stars 26 forks source link

s-o-g often generates pdf docs different from vanilla #697

Open strogdon opened 2 years ago

strogdon commented 2 years ago

This is the table of contents page for combinat.pdf. The formatting is not preserved in the attached but notice that the page numbering is different.

This is from s-o-g: s-o-g.pdf

This is from vanilla: vanilla.pdf

Discovered this when investigating whether s-o-g had the same undefined reference (https://trac.sagemath.org/ticket/33885) as vanilla. They do have the undefined reference but it appears on different pages.

kiwifb commented 2 years ago

Are they both formatted in A4?

strogdon commented 2 years ago

No, my latex is suppose to produce letterpaper output.

kiwifb commented 2 years ago

So, it becomes, are both US letter :)

strogdon commented 2 years ago

Yes, I don't see how they could be different. The vanilla is clearly letterpaper since I can view the tex file. I don't immediately have the s-o-g tex file. The above referenced pages look identical in size when viewed with a pdf viewer.

strogdon commented 2 years ago

The spacing after a bold faced paragraph item is different. There is more space with the s-o-g result.

strogdon commented 2 years ago

Perhaps sphinx related. Vanilla uses sphinx-4.4.0.

kiwifb commented 2 years ago

Are you using sphinx 4.5.0 which is (on my system) in ~arch?

strogdon commented 2 years ago

yes

strogdon commented 2 years ago

On my system 4.5.0-r1 is stable.

kiwifb commented 2 years ago

I'll need to sync later then. I was expecting moving to 4.5.0 to be as troublesome as moving to 4.3 and 4.4 was.