groff
[Top][All Lists]
Advanced

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

Re: [Groff] End of file processing


From: Peter Schaffter
Subject: Re: [Groff] End of file processing
Date: Sat, 4 Jan 2014 09:50:39 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Jan 03, 2014, Tadziu Hoffmann wrote:
> 
> 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.)

Thanks, Tadziu.
 
> End-of-input handling must be the most bizarre aspect of
> troff ever.

So glad someone else feels that way. :)

-- 
Peter Schaffter
http://www.schaffter.ca



reply via email to

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