diff --git a/.latexmkrc b/.latexmkrc index beaa33e6..88b95333 100644 --- a/.latexmkrc +++ b/.latexmkrc @@ -1,5 +1,5 @@ #`-file-line-error` is similar to `--interaction nonstopmode`, but shows the concrete line number -#Remove it, it you want pdflatex to stop on errors +#Remove it, it you want lualatex to stop on errors $pdflatex = 'lualatex -shell-escape -file-line-error --synctex=-1 %O %S'; #Use SumatraPDF instead of the default PDF viewer @@ -8,12 +8,9 @@ $pdf_previewer = 'start "C:\Program Files\SumatraPDF\SumatraPDF.exe"'; #SumatraPDF updates automatically $preview_mode = 0; -#automatically call pdflatex (instead of latex) +#automatically call lualatex/pdflatex (instead of latex) $pdf_mode = 1; -#remove more files than in the default configuration -@generated_exts = qw(acn acr alg aux code ist fls glg glo gls glsdefs idx ind lof lot out thm toc tpt wrt); - add_cus_dep('glo', 'gls', 0, 'run_makeglossaries'); add_cus_dep('acn', 'acr', 0, 'run_makeglossaries'); @@ -26,4 +23,6 @@ sub run_makeglossaries { }; } +#remove more files than in the default configuration +@generated_exts = qw(acn acr alg aux code ist fls glg glo gls glsdefs idx ind lof lot out thm toc tpt wrt); $clean_ext .= ' %R.ist %R.xdy';