groff
[Top][All Lists]
Advanced

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

Re: [Groff] Groff to pdf/Windows


From: Deri James
Subject: Re: [Groff] Groff to pdf/Windows
Date: Thu, 06 Mar 2014 16:21:49 +0000
User-agent: KMail/4.10.5 (Linux/3.10.28-desktop-1.mga3; KDE/4.10.5; x86_64; ; )

On Thu 06 Mar 2014 09:21:57 Keith Marshall wrote:
> A further advantage of using pdfroff is that it will automatically
> handle the multiple groff passes required to resolve pdfmark cross
> references, if you use the -mpdfmark macro set.  I don't know if -Tpdf
> will provide a similar level of support; perhaps Deri could comment?

If you are using mom the pdfmom command will do the forward references for you. 
If you are not using mom the actual command is:-

groff -Tpdf -dPDF.EXPORT=1 -z $cmdstring 2>&1 | grep '^.ds' | groff -Tpdf - 
$preconv $cmdstring

(NB Note the single hyphen '-' before $preconv).

$cmdstring should be replaced with any groff params and your filename, and
$preconv is any particular -k or -K switches you need.

Keith, is there any chance I could add something along these lines to pdfroff 
if the -T pdf switch is passed to pdfroff?

Deri



reply via email to

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