-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathlatexmkrc
25 lines (18 loc) · 958 Bytes
/
latexmkrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# vim: set ft=perl:
# Copyright (c) 2019 Casper Ti. Vector
# Public domain.
# Credit to http://ctan.math.washington.edu/tex-archive/support/latexmk/latexmk.pdf
@default_files = ('thesis.tex');
# Generate pdf using:
# 1, generate a pdf version of the document using pdflatex, using the command specified by the $pdflatex variable.
# 3:generate a pdf version of the document from the dvi file, by using the command specified by the $dvipdf variable.
# 5:generate a pdf version (and an xdv version) of the document using xelatex, using the commands specified by the
# $xelatex and xdvipdfmx variables.
$pdf_mode = 5;
$xelatex = 'xelatex -synctex=1 -interaction=nonstopmode --shell-escape -no-pdf %O %S';
$xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S";
$bibtex_use = 1.5;
$biber = "biber -l zh__pinyin --output-safechars %O %S";
# latexmk -c 时自动删除 .run.xml 文件。
$clean_ext = "run.xml";
$makeindex = "makeindex -s gind.ist %O -o %D %S";