23 Jun
2021
23 Jun
'21
2:57 p.m.
On 6/23/21 9:26 AM, Hans Hagen wrote:
On 6/22/2021 1:55 PM, Pascal Pascali wrote:
Dear ConTeXt community,
Is it possible to set the file name of the output from within the document? [...] \startluacode luatex.wrapup( function() os.remove("new.pdf") os.rename("old.pdf","new.pdf") end ) \stopluacode
Many thanks for your reply, Hans. Just a question, which is the gain of wrapping os.rename() in a function? Many thanks for your help, Pablo -- http://www.ousia.tk