| 1 |
# vim: set ft=perl: |
| 2 |
|
| 3 |
$pdf_mode = 5; |
| 4 |
|
| 5 |
$xelatex = "xelatex -shell-escape -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S"; |
| 6 |
$xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S"; |
| 7 |
|
| 8 |
$bibtex_use = 1.5; |
| 9 |
|
| 10 |
$clean_ext = "hd loe ptc run.xml synctex.gz thm xdv"; |
| 11 |
|
| 12 |
$makeindex = "makeindex -s gind.ist %O -o %D %S"; |
| 13 |
|
| 14 |
add_cus_dep('nlo', 'nls', 0, 'nlo2nls'); |
| 15 |
sub nlo2nls { |
| 16 |
system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\""); |
| 17 |
} |
| 18 |
push @generated_exts, 'nlo', 'nls'; |