Hello Hans, exactly what I needed, thank you! Best regards, Lukas ne 8. 2. 2026 v 13:35 odesÃlatel Hans Hagen via ntg-context <[email protected]> napsal: > > On 2/8/2026 12:55 PM, LPr Pontex wrote: > > 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: > > There is: > \startluacode > for i=1,100 do > luatex.wrapup(function() > print("!!!!!!!! " .. i,environment.outputfilename) > end) > end > \stopluacode > > But you're on your own in making sure that you don't mess up something. > > 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 > ----------------------------------------------------------------- > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________
