4 Jun
2022
4 Jun
'22
11:54 p.m.
Is it possible at the end off compile proces to move the created PDF to another directory (subdirectory of current directory)
You can try something like this: \startluacode luatex.wrapup(function() local pdf = tex.jobname .. ".pdf" file.copy(pdf, "subdirectory/" .. pdf) os.remove(pdf) end) \stopluacode \starttext Hello! \stoptext -- Max