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: Thu, 19 Nov 2020 17:42:43 -0500

> On Nov 19, 2020, at 5:32 PM, Richard Morse <pukku@mac.com> wrote:
> 
>> On Nov 19, 2020, at 5:11 PM, Heinz-Jürgen Oertel <hj.oertel@t-online.de> 
>> wrote:
>> 
>> Am Donnerstag, 19. November 2020, 21:41:42 CET schrieb Richard Morse:
>>> […]
>>> The roff file is being generated by a program, and for a few reasons, it 
>>> would be much easier to have the program generate one output file, and then 
>>> run Groff on the single file. Is there someway, perhaps using the 
>>> mysterious “I/O” requests, to have the roff file change the output file 
>>> through out?
>>> […]
>> 
>> Can you use pdftk to split the groff output file file afterwards in pages?
> 
> Unfortunately each center’s invoice is a different, arbitrary, number of 
> pages. The file internally knows when it becomes a new one, but that 
> information is not fixed (there are listings of items, so sometimes a center 
> could be one page, sometimes 5 (or any other number)).
> 
> This is why I was hoping that there is something internal to groff that would 
> let me change the output file…

Sorry, to be clearer: I can do this manually already; I’m looking for something 
that will not require me to manually separate out the various invoices (at that 
point, I should just write out separate roff files and call groff individually)…

Thanks,
Ricky


reply via email to

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