sage-on-gentoo icon indicating copy to clipboard operation
sage-on-gentoo copied to clipboard

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

Open strogdon opened this issue 2 years ago • 10 comments

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.

strogdon avatar May 23 '22 04:05 strogdon

Are they both formatted in A4?

kiwifb avatar May 23 '22 04:05 kiwifb

No, my latex is suppose to produce letterpaper output.

strogdon avatar May 23 '22 04:05 strogdon

So, it becomes, are both US letter :)

kiwifb avatar May 23 '22 04:05 kiwifb

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 avatar May 23 '22 04:05 strogdon

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

strogdon avatar May 23 '22 04:05 strogdon

Perhaps sphinx related. Vanilla uses sphinx-4.4.0.

strogdon avatar May 23 '22 04:05 strogdon

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

kiwifb avatar May 23 '22 04:05 kiwifb

yes

strogdon avatar May 23 '22 04:05 strogdon

On my system 4.5.0-r1 is stable.

strogdon avatar May 23 '22 04:05 strogdon

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.

kiwifb avatar May 23 '22 04:05 kiwifb