[luatex] Is there a hook that could be used by a pdf postprocessor?

David Shourabi Porcel david.shourabiporcel at gmail.com
Mon Dec 11 15:56:07 CET 2017


If it's possible to carry out the postprocessing you need from within
LuaTeX instead of with ghostscript, the callback finish_pdffile might
be an option. Otherwise, you're better off with a build system like

On Fri, Dec 8, 2017 at 6:40 PM, Knut Petersen <Knut_Petersen at t-online.de> wrote:
> Hi everybody!
> I include a lot of pdfs without embedded fonts and use ghostscript (together
> with extractpdfmark if necessary) as a pdf postprocessor to insert one
> optimized subset of every font instead of one subset of every font for every
> included pdf.
> Is there a hook that would allow a program to be executed after \jobname.pdf
> has been closed?
> Knut

More information about the luatex mailing list