$pdflatex = 'lualatex --shell-escape %O %S'; $makeindex = 'makeindex -s %R.ist %O -o %D %S'; $pdf_mode = 1; $postscript_mode = 0; $dvi_mode = 0;