groff
[Top][All Lists]
Advanced

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

Re: [Groff] End of file processing


From: Tadziu Hoffmann
Subject: Re: [Groff] End of file processing
Date: Fri, 3 Jan 2014 21:33:37 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Try this:

  .\" Minimal footer
  .de footer
  . sp |\\n[.p]u-.75i
  . ce 1
  \\n[%]
  . if \\n[defer]=1 \c
  ' bp
  ..

(You need the no-break version of bp, otherwise the line will
be flushed by the break that occurs before bp is invoked,
and then no partial line will exist during bp processing.)


End-of-input handling must be the most bizarre aspect of
troff ever.





reply via email to

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