groff
[Top][All Lists]
Advanced

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

Re: [Groff] Question about .trunc


From: Tadziu Hoffmann
Subject: Re: [Groff] Question about .trunc
Date: Thu, 3 Nov 2016 11:55:53 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

If you request a certain amount of vertical space,

  .sp <wantedspace>

and the distance to the next trap (available in register .t)
is smaller than this, the trap is sprung and .trunc is set to

  <wantedspace> - <distance-to-trap>

i.e., the amount truncated (not output) from <wantedspace>.
(See attached example; use -Tps and paper size a4.)

It's interesting to note that at end-of-file, groff appears
to do the equivalent of

  .sp <pagelength>

judging from the value of .trunc when the footer trap is sprung.


Attachment: trunc.ro
Description: Text document


reply via email to

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