Hi! 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 Make.
On Fri, Dec 8, 2017 at 6:40 PM, Knut Petersen <[email protected]> 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
