[luatex] finish_pdffile callback
Hans Hagen
pragma at wxs.nl
Fri Feb 9 10:07:13 CET 2018
On 2/9/2018 3:44 AM, Br. Samuel Springuel wrote:
> I noticed in the docs that LuaTeX has a `finish_pdffile` callback whose
> short description is "Called when all pages have been written to the PDF
> file." Does this mean that LuaTeX has closed the pdf file when this
> callback is executed (and thus it is safe for the callback to instruct
> other tools to manipulate the pdf file)?
Unofficial answer: you can cheat as there's a finish_synctex_callback
that you can abuse (but you then temporary need to enable synctex) and
that callbacks kicks in after the pdf is closed. The log file is still
open then.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
More information about the luatex
mailing list