[Therion] Combining PDFs with a page break

Tarquin Wilton-Jones tarquin.wilton-jones at ntlworld.com
Mon Jan 13 11:37:30 CET 2025


> Yes, you need an external tool to combine them.


Thanks for confirming my suspicions.

> In case you use linux that is easy: `pdfjam file1.pdf file2.pdf -o out.pdf"


Since this is intended to be open source, I was really hoping not to 
rely on an external tool. Code branching is the opposite of fun for;
if windows and the user has installed PDFtk, use this external 
executable path,
else if linux and pdfjam, use this command
else if mac, use this command
else go into meltdown

I already have to do that for wkhtmltopdf to tidy up a bunch of the HTML 
outputs and incorporate them, and it is a maintenance nightmare when 
sharing the codebase.

Hence my wish for something internal. Much sadness.

But thanks for the answer anyway.

Tarquin


More information about the Therion mailing list