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, 20 Nov 2020 08:08:12 -0500

> On Nov 20, 2020, at 12:30 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

Thanks! I will look at this; it doesn’t do all that I had hoped I could do (I 
had other plans that would have built upon controlling the output file from 
within groff), but (provided I can navigate the quoting issues in three 
different languages) it might work.

Thanks,
Ricky


reply via email to

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