Re: One groff file outputting multiple pdfs?

2020-11-20 Thread Richard Morse
> On Nov 20, 2020, at 12:30 AM, Dave Kemper 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 in

Re: One groff file outputting multiple pdfs?

2020-11-20 Thread James K. Lowden
On Thu, 19 Nov 2020 18:15:32 -0500 Richard Morse wrote: > This would simplify a lot of things, because this kind of thing could > be easily be put into the roff file when I?m generating that. Good, so if .OUT is your marker, here's a working script: #! /usr/bin/awk -f /^[.]OUT/ { if( outp