groff
[Top][All Lists]
Advanced

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

Re: [groff] Printing landscape with mm


From: Ralph Corderoy
Subject: Re: [groff] Printing landscape with mm
Date: Tue, 24 Jul 2018 16:56:46 +0100

Hi Blake,

> at the beginning of my document I am doing:
>
> .pl 8.5i

groff_mm(7) talks of `.PGFORM'.

    printf '%s\n' '.PGFORM 9i 8.5i 1i' ".PF 'left'centre'right'" `seq 3000` |
    groff -mm -Tpdf -P-l -P-pletter >foo.pdf

You'll see page one's header is centred on the old page width compared
with pages two and three.

Using registers set on the command-line, before the `-mm' has effect,
avoids this problem, as hinted at in groff_mm(7).

    printf '%s\n' ".PF 'left'centre'right'" `seq 3000` |
    groff -mm -Tpdf -rL=8.5i -rO=1i -rW=9i -P-l -P-pletter >bar.pdf

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy



reply via email to

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