groff
[Top][All Lists]
Advanced

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

Re: Selecting Papersize


From: Deri
Subject: Re: Selecting Papersize
Date: Sun, 09 Jul 2023 18:53:51 +0100

On Sunday, 9 July 2023 01:56:25 BST Damian McGuckin wrote:
> When using the -dpaper=a4 option to 'groff' (which is passed to 'gtroff'),
> the manual says to use '-P-pa4' also (which is passed to the backend).
> 
> Does 'gtroff' not pass enough papersize information down its pipeline to
> the backend to make that '-P-pa4' redundant?
> 
> Thanks - Damian

Hi Damian,

Grodvi supports \X'papersize=' and so does gropdf. In the deri-gropdf-ng git 
branch you will find a version of papersize.tmac which does exactly what you 
suggest by sending the chosen papersize through to gropdf, so you don't need a 
separate -P-p. It should work with gropdf 1.23.0 as well, but the git version 
allows you to override with -P-p as well.

Here's the papersize.tmac.

Cheers 

Deri

Attachment: papersize.tmac
Description: Text Data


reply via email to

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