![](https://secure.gravatar.com/avatar/413051f5ef37416e8bd7c228ea721eb9.jpg?s=120&d=mm&r=g)
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