On 10/24/18, Peter Schaffter <pe...@schaffter.ca> 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