[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Footer trap in a A4 PDF
From: |
G. Branden Robinson |
Subject: |
Re: Footer trap in a A4 PDF |
Date: |
Fri, 25 Aug 2023 11:58:28 -0500 |
Hi Matteo,
At 2023-08-25T18:32:02+0200, Matteo Bini wrote:
> On 2023-08-25 10:20, G. Branden Robinson wrote:
> > Attaching screenshots of Evince viewing the document in "Dual" mode,
> > when produced with Debian's groff 1.22.4 and stock groff 1.23.0
>
> I hate to be that meticulous, but if you open those images with GIMP,
> you can see that the footer text is not at the same height on both
> pages.
kruler aside, there's another way to tell--inspect troff(1)'s output.
...and I get no difference.
$ /usr/bin/groff -Z -K utf8 -P -pa4 -T pdf ATTIC/bini.roff \
>| ATTIC/bini-a4-1.22.4.grout
$ groff -Z -K utf8 -P -pa4 -T pdf ATTIC/bini.roff >| \
ATTIC/bini-a4-1.23.0.grout
$ cmp ATTIC/bini-a4-1.22.4.grout ATTIC/bini-a4-1.23.0.grout && echo SAME
SAME
> In the ROFF file you've sent me there are no unwanted blank lines.
And yet the "footer" changes location from page 1 to page 2?
> I honestly don't know how to debug this, even if it's not a big
> problem.
Something like
$ grep '^ *$' mymacro.tmac
is what I had in mind.
Regards,
Branden
signature.asc
Description: PGP signature
Re: Footer trap in a A4 PDF, Peter Schaffter, 2023/08/25
Re: Footer trap in a A4 PDF, Tadziu Hoffmann, 2023/08/25
Re: Footer trap in a A4 PDF, Matteo Bini, 2023/08/27