groff
[Top][All Lists]
Advanced

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

[Groff] Suppressing final page break


From: Austin
Subject: [Groff] Suppressing final page break
Date: Thu, 6 Feb 2014 17:10:57 +1300
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Hope you'll forgive my first post being a dumb newbie question ... I have 
searched for an answer with no luck so far.

I have a pair of macros that collect text and format it, then output one chunk 
per page, for printing envelopes, labels, etc.  I'm looking for a more elegant 
way of suppressing the final page break to avoid an empty page at the end of 
the document.  Currently I set a 'first time through' flag and then output the 
page break depending on its value, but this seems slightly kludgy.  Is there 
perhaps a way of making the .bp 'conditional', i.e. only actioned if there is 
text following it?  Or perhaps a way to 'suck it back' in an end-of-input 
macro?  What's the preferred approach (if there is one)?



reply via email to

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