Use (again) Perl concatenation for latexmk variables (refs #3719)

Indeed, with this latexmk will display something like

Running 'pdflatex --halt-on-error --interaction=batchmode  -recorder
"sphinx.tex"'

if `make latexpdf` was invoked with `LATEXOPTS="--halt... "`, which
is more useful console output than:

Running 'pdflatex $LATEXOPTS -recorder "sphinx.tex"'

as is the case without this commit.
This commit is contained in:
jfbu 2017-05-09 23:32:47 +02:00
parent 593eb39be0
commit 1385e1ac1b
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
$latex = 'platex $LATEXOPTS -kanji=utf8 %O %S';
$latex = 'platex ' . $ENV{'LATEXOPTS'} . ' -kanji=utf8 %O %S';
$dvipdf = 'dvipdfmx %O -o %D %S';
$makeindex = 'rm -f %D; mendex -U -f -d %B.dic -s python.ist %S || echo "mendex exited with error code $? (ignoring)" && : >> %D';
add_cus_dep( "glo", "gls", 0, "makeglo" );

View File

@ -1,7 +1,7 @@
$latex = 'latex $LATEXOPTS %O %S';
$pdflatex = 'pdflatex $LATEXOPTS %O %S';
$lualatex = 'lualatex $LATEXOPTS %O %S';
$xelatex = 'xelatex --no-pdf $LATEXOPTS %O %S';
$latex = 'latex ' . $ENV{'LATEXOPTS'} . ' %O %S';
$pdflatex = 'pdflatex ' . $ENV{'LATEXOPTS'} . ' %O %S';
$lualatex = 'lualatex ' . $ENV{'LATEXOPTS'} . ' %O %S';
$xelatex = 'xelatex --no-pdf ' . $ENV{'LATEXOPTS'} . ' %O %S';
$makeindex = 'makeindex -s python.ist %O -o %D %S';
add_cus_dep( "glo", "gls", 0, "makeglo" );
sub makeglo {