groff
[Top][All Lists]
Advanced

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

Re: [Groff] setting a custom page length


From: Werner LEMBERG
Subject: Re: [Groff] setting a custom page length
Date: Fri, 02 Apr 2010 19:15:16 +0200 (CEST)

>>> Is this not documented or did I just overlook it
>>
>> It is documented.
>>
>>> From grops(1): [...]
>>
>> and from groff_font(5): [...]

And from groff_tmac(5):

   Special Packages
       [...]

       papersize
              This macro file is already loaded at start-up by troff
              so it isn't necessary to call it explicitly.  It
              provides an interface to set the paper size on the
              command line with the option -dpaper=size.  Possible
              values for size are the same as the predefined papersize
              values in the DESC file (only lowercase; see
              groff_font(5) for more) except a7-d7.  An appended l
              (ell) character denotes landscape orientation.
              Examples: a4, c3l, letterl.

              Most output drivers need additional command line
              switches -p and -l to override the default paper length
              and orientation as set in the driver specific DESC file.
              For example, use the following for PS output on A4 paper
              in landscape orientation:

              sh# groff -Tps -dpaper=a4l -P-pa4 -P-l -ms foo.ms > foo.ps


    Werner




reply via email to

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