# 4 = lualatex, do not know why this magic number, see CTAN repository with latexmkrc examples $pdf_mode= 4 ; @default_files = ('.maindir/tex/main.tex'); $out_dir = '.maindir/out';