Luatex should create the \jobname and the PDF/DVI output file name to be consistent with the used .tex input filename (from callback or kpse). E. g., simple test file test.1.tex: % test.1.tex \jobname \bye pdftex luatex ---------------------------------------------------------- Ok.: Program call pdftex test.1.tex luatex test.1.tex Input file opened test.1.tex test.1.tex \jobname test.1 test.1 Output file opened test.1.pdf test.1.pdf Not Ok.: Program call pdftex test.1 luatex test.1 Input file opened test.1.tex test.1.tex (ok.!) \jobname test.1 test (wrong) Output file opened test.1.pdf test.pdf (wrong)