groff
[Top][All Lists]
Advanced

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

Re: [Groff] Groff editor.


From: Keith Marshall
Subject: Re: [Groff] Groff editor.
Date: Tue, 21 Aug 2007 16:37:26 +0100
User-agent: KMail/1.8.2

On Monday 20 August 2007 19:03, Meg McRoberts wrote:
> you have to create a PostScript file ...

Actually, you don't.

> and then convert the ps file to PDF: 
>
>   groff -mandoc -st <filename> > <filename>.ps
>   ps2pdf <filename>.ps <filename>.pdf

   groff -mandoc -st <filename> | ps2pdf - <filename>.pdf

will have exactly the same ultimate effect, without any need to save the 
PostScript file; (of course, the data stream passing through the pipe 
comprises the same PostScript data).

Alternatively, if your groff installation is reasonably up to date

   pdfroff --no-toc -mandoc -st <filename> > <filename>.pdf

should also work, but will be less efficient, for pdfroff aggressively 
reprocesses the input file, looking for, and resolving cross references 
defined using the pdfmark macros, (which haven't been used in this 
example).

Regards,
Keith.




reply via email to

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