On Thu, 6 Apr 2023, G. Branden Robinson wrote:

At 2023-04-06T10:39:13+0000, Lennart Jablonka wrote:
Then comes the noteworthy bit: Concatenate the troff output of all
those separate documents and feed it all to the postprocessor at once,
as in

        troff -ms mainmatter.ms >mainmatter.trout 2>toc
        { troff frontmatter && troff toc && cat mainmatter.trout;       } | 
gropdf
all.pdf

That?s what I would do.

I take the output from 'groff -mm' which has the cover, main text, and Table-Of-Contents in that order. I then pull it apart and rearrange with PDFTK.

Thanks - Damian

Pacific Engineering Systems International ..... 20D Grose St, Glebe NSW 2037
Ph:+61-2-8571-0847 .. Fx:+61-2-9692-9623 | unsolicited email not wanted here
Views & opinions here are mine and not those of any past or present employer

Reply via email to