[Therion] Combining PDFs with a page break
Benedikt Hallinger
beni at hallinger.org
Mon Jan 13 11:42:08 CET 2025
For such cases, I ususally make myself a "build script" that executes
the neccessary steps to produce my desired output.
in this case it would be some therion commands, and then a final pdfjam
one.
I would think that adding something "internal" like this could very
easily lead to code bloat and feature creep.
But wasn't there some thconfig command to execute arbitary code after he
compile?
Am 2025-01-13 11:37, schrieb Tarquin Wilton-Jones via Therion:
>> 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
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> https://mailman.speleo.sk/listinfo/therion
More information about the Therion
mailing list