From 9cde915b50bbb9997ae689bd3368d847c0edcd2d Mon Sep 17 00:00:00 2001 From: atxy <181850195@smail.nju.edu.cn> Date: Wed, 15 Sep 2021 01:29:27 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- latexmkrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 latexmkrc diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..17e9557 --- /dev/null +++ b/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'; -- GitLab