Hello,
is there a way register a user function (callback) to be called right after
the resulting PDF has been created (and its file handle has been closed) so
that the callback may do something extra with the result, with PDF's name
being passes to it as an argument, like:
\startluacode
context.register_callback("OnPdfClosed", "MySampleCallback",
function(resulting_pdf_full_file_path)
print("ImHere", resulting_pdf_full_file_path)
end)
\stopluacode
Best regards,
Lukas
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________