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

 [email protected]
 http://www.AutoAuditorium.com
 http://www.FovealMounts.com


Reply via email to