summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hitreport/latexmkrc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-03-15 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-03-15 03:01:24 +0000
commit36607734949d1736c36ed7b9f3a12a74d7a8ce86 (patch)
tree16f4b95c6487768dc8c9ab93a82bbcfe6e7f35df /macros/latex/contrib/hitreport/latexmkrc
parent954d393d844eacce4354b6174613f467bcd7a257 (diff)
CTAN sync 202103150301
Diffstat (limited to 'macros/latex/contrib/hitreport/latexmkrc')
-rw-r--r--macros/latex/contrib/hitreport/latexmkrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/macros/latex/contrib/hitreport/latexmkrc b/macros/latex/contrib/hitreport/latexmkrc
new file mode 100644
index 0000000000..17e9557a5e
--- /dev/null
+++ b/macros/latex/contrib/hitreport/latexmkrc
@@ -0,0 +1,18 @@
+# vim: set ft=perl:
+
+$pdf_mode = 5;
+
+$xelatex = "xelatex -shell-escape -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S";
+$xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S";
+
+$bibtex_use = 1.5;
+
+$clean_ext = "hd loe ptc run.xml synctex.gz thm xdv";
+
+$makeindex = "makeindex -s gind.ist %O -o %D %S";
+
+add_cus_dep('nlo', 'nls', 0, 'nlo2nls');
+sub nlo2nls {
+ system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
+}
+push @generated_exts, 'nlo', 'nls';