groff
[Top][All Lists]
Advanced

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

Re: One groff file outputting multiple pdfs?


From: Richard Morse
Subject: Re: One groff file outputting multiple pdfs?
Date: Fri, 11 Dec 2020 19:09:13 -0000

On November 20, 2020 at 12:31 AM, Dave Kemper <saint.snit@gmail.com> wrote:

If your actual requirements are (a) there be only one input file, and
(b) it produce multiple output files, this is straightforward to do in
a file that's *mostly* groff, but with a handful of shell lines
between each set of input:

groff -ms > out1.ps << EOF
.LP
Contents of file 1
EOF
groff -ms > out2.ps << EOF
.LP
Contents of file 2
EOF

HI! I realize it's been a while, but I just found time to get back to this, and 
I wanted to say thank you — this seems to do basically what I wanted!

Many thanks,
Ricky 


reply via email to

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