[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Selecting Papersize
From: |
Damian McGuckin |
Subject: |
Re: Selecting Papersize |
Date: |
Sun, 9 Jul 2023 13:56:13 +1000 (AEST) |
Thanks for your reply.
On Sun, 9 Jul 2023, Bjarni Ingi Gislason wrote:
When "groff" is configured, the variable "PAGE" is (should be) set to
the default paper format for the default printer.
So, when I build groff 1.23.0, I should make sure that PAGE is set to A4.
So the variable "paper" in "papersize.tmac" should have the same
value as "$PAGE".
With, for example, this addition to "tmac/troffrc" before reading the
"papersize.tmac":
.if t \{\
. do if !d paper .do ds paper A4\" use $(PAGE) to configure
.\}
OK.
The big question is whether I really need to pass '-P-pa4' to groff so
that it can hand it off to the postprocessor., say grops/gropdf. Or
can the postprocessor get the information it needs from its input?
Thanks - Damian
Pacific Engineering Systems International ..... 20D Grose St, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer
Re: Selecting Papersize, Deri, 2023/07/09