diff --git a/chertex.sh b/chertex.sh index 950c83e..6d0375e 100755 --- a/chertex.sh +++ b/chertex.sh @@ -344,10 +344,13 @@ if $maintrack; then fi # Run pdflatex, bibtex, and company + # Leaving this if-else for historical reasons, and also to print the message if $ltxmkrc; then - msg "${On_Cyan} Calling LaTeXMK with RC file${NOFORMAT}" + msg "${On_Cyan} Calling LaTeXMK, detected .latemxkrc file${NOFORMAT}" simpledelay.sh 2 - latexmk -r .latexmkrc -pdf -bibtex $jobname + # note: latexmk does not need us to invoke "-r .latexmkrc", it finds and uses + # the RC file automatically (as evidenced by latexmk's output) + latexmk -pdf -bibtex $jobname else msg "${On_Cyan} Calling LaTeXMK${NOFORMAT}" simpledelay.sh 2