summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hitszthesis/latexmkrc
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/hitszthesis/latexmkrc')
-rw-r--r--macros/latex/contrib/hitszthesis/latexmkrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/hitszthesis/latexmkrc b/macros/latex/contrib/hitszthesis/latexmkrc
new file mode 100644
index 0000000000..3ba7612943
--- /dev/null
+++ b/macros/latex/contrib/hitszthesis/latexmkrc
@@ -0,0 +1,23 @@
+# vim: set ft=perl:
+
+$pdf_mode = 5;
+
+$xelatex = "xelatex -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 synctex.gz thm xdv";
+
+$makeindex = "makeindex -s gind.ist %O -o %D %S";
+add_cus_dep('glo', 'gls', 0, 'glo2gls');
+sub glo2gls {
+ system("makeindex -s gglo.ist -o \"$_[0].gls\" \"$_[0].glo\"");
+}
+push @generated_exts, 'glo', 'gls';
+
+add_cus_dep('nlo', 'nls', 0, 'nlo2nls');
+sub nlo2nls {
+ system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
+}
+push @generated_exts, 'nlo', 'nls';