No need to use "-r .latexmkrc" for latexmk command

because latexmk will use .latexmkrc file in the working directory
without needing to be prompted to do so.
In fact, the "-r" argument was causing latexmk to emit a warning,
so we are better of without it.
master
Taha Ahmed 3 years ago
parent 2aded2bfc5
commit 296cc79bb9

@ -344,10 +344,13 @@ if $maintrack; then
fi fi
# Run pdflatex, bibtex, and company # Run pdflatex, bibtex, and company
# Leaving this if-else for historical reasons, and also to print the message
if $ltxmkrc; then if $ltxmkrc; then
msg "${On_Cyan}<cheRTeX> Calling LaTeXMK with RC file${NOFORMAT}" msg "${On_Cyan}<cheRTeX> Calling LaTeXMK, detected .latemxkrc file${NOFORMAT}"
simpledelay.sh 2 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 else
msg "${On_Cyan}<cheRTeX> Calling LaTeXMK${NOFORMAT}" msg "${On_Cyan}<cheRTeX> Calling LaTeXMK${NOFORMAT}"
simpledelay.sh 2 simpledelay.sh 2

Loading…
Cancel
Save