File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
$latex = ' xelatex --no-pdf ' . $ENV {' LATEXOPTS' } . ' %O %S' ;
2
- $pdflatex = ' echo "using custom latexmkrc"; for f in *.tex_; do xelatex -jobname="${f%.*}" -interaction=nonstopmode -recorder "$f"; done; xelatex ' . $ENV {' LATEXOPTS' } . ' %O %S' ;
2
+ $pdflatex = ' echo "using custom latexmkrc"; '
3
+ . ' for f in *.tex_; do xelatex -jobname="${f%.*}" -interaction=nonstopmode -recorder "$f"; done; '
4
+ . ' xelatex ' . $ENV {' LATEXOPTS' } . ' %O %S' ;
3
5
$lualatex = ' lualatex ' . $ENV {' LATEXOPTS' } . ' %O %S' ;
4
6
$xelatex = ' xelatex --no-pdf ' . $ENV {' LATEXOPTS' } . ' %O %S' ;
5
7
$makeindex = ' makeindex -s python.ist %O -o %D %S' ;
6
8
add_cus_dep( " glo" , " gls" , 0, " makeglo" );
7
9
sub makeglo {
8
10
return system ( " makeindex -s gglo.ist -o '$_ [0].gls' '$_ [0].glo'" );
9
11
}
12
+ $success_cmd = ' if [ -n "$READTHEDOCS" ]; then echo "moving PDFs"; '
13
+ . ' for f in *.tex_; '
14
+ . ' do mv -f "${f%.*}.pdf" "/home/docs/checkouts/readthedocs.org/user_builds/mdtf-diagnostics/artifacts/latest/sphinx_pdf/${f%.*}.pdf"; '
15
+ . ' done; fi'
You can’t perform that action at this time.
0 commit comments