groff
[Top][All Lists]
Advanced

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

Re: [Groff] Problem with -me package


From: Mike Bianchi
Subject: Re: [Groff] Problem with -me package
Date: Sun, 8 Feb 2009 19:29:26 -0500
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

On Sun, Feb 08, 2009 at 10:57:41PM +0300, Anton Shepelev wrote:
> Ralph Corderoy:
>
>> I don't know -me so can't answer on your specific problem.  But have  
>> you
>> tried making the page length very long instead of trying to remove the
>> inter-page gap?
>
> And there's another annoyance to this method: the output file will  
> containt at
> leat one whole page, Imagine writting an email and outputting into a  
> file with
> about 1000 lines. Or I'll have to adjust the page length every time.  
> It's
> similar to using static arrays when the exact size is not know  
> beforehand.
>
> Anton

To format a document of arbitrary length as _one_ nroff page
I use this trick.

First, set the page length _very_ long.
                .pl 99999

And then make the last two lines of input a line break and
setting the page length to the _current_ page length.
                .br
                .pl \\n[nl]u

-- 
 Mike Bianchi
 Foveal Systems

 973 822-2085   call to arrange Fax

 address@hidden
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com




reply via email to

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