groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [groff] page location traps


From: Dave Kemper
Subject: Re: [groff] page location traps
Date: Thu, 25 Oct 2018 02:43:23 -0500

On 10/24/18, Peter Schaffter <address@hidden> wrote:
> Where is the generic end-of-page trap in relation to the last output
> line of the page?

In one instance, the end-of-page trap sits at position 527981u.*  On
the last line, .tm reports the value of \n(nl to be 523346u.**  So my
code places the new trap at 523347u.  When I have groff generate
PostScript output, this new trap is triggered, and the end-of-page
trap is not, causing subsequent text to go past the bottom margin and
off the end of the page.

* At least, this is where I calculate it sits: it's placed (per .tm
output) at -48019u, and the page length is 8i, which is 576000u.

** This .tm also reports \n(.t to be 4635u, and 523346u + 4635u =
527981u, confirming that that's where the end-of-page trap is.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]