-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlatexmkrc
More file actions
80 lines (70 loc) · 1.72 KB
/
latexmkrc
File metadata and controls
80 lines (70 loc) · 1.72 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# .latexmkrc starts
#
# No pdf file requested to be made by pdflatex
# Possible values:
# 0 don't create pdf file
# 1 to create pdf file by pdflatex
# 2 to create pdf file by ps2pdf
# 3 to create pdf file by dvipdf
$pdf_mode = 1;
# Commands to invoke latex, pdflatex
$pdflatex = join(" ",
"xelatex",
"-file-line-error",
"--shell-escape",
"-src-specials",
"-synctex=1",
"-interaction=nonstopmode %O %S;cp %D %R.pdf"
);
# Whether to use recorder option on latex/pdflatex
$recorder = 1;
# 预览
#$pdf_previewer = "SumatraPDF -reuse-instance -inverse-search -a %O %S";
#$pdf_previewer = "open -a %S";
# 连续编译模式
#$preview_continuous_mode = 1;
# 根据不同平台选择不同的更新模式(windows文件占用不能直接覆盖)
#$pdf_update_method = 0;
# 清理文件后缀名
# space separated extensions of files that are
# to be deleted when doing cleanup, beyond
# standard set
$clean_ext = join(" ",
"acn ",
"acr ",
"alg ",
"aux ",
"bbl ",
"bcf ",
"blg ",
"brf ",
"glg ",
"glo ",
"gls ",
"idx ",
"ilg ",
"ind ",
"ist ",
"lof ",
"log ",
"lot ",
"out ",
"toc ",
"dvi ",
"run.xml ",
"synctex.gz ",
"fdb_latexmk "
);
# 清理模式
# No cleanup of nonessential LaTex-related files.
# $cleanup_mode = 0: no cleanup
# $cleanup_mode = 1: full cleanup
# $cleanup_mode = 2: cleanup except for dvi,
# dviF, pdf, ps, & psF
#$cleanup_mode = 1;
# Directory for output files.
# Cf. --output-directory of current (pdf)latex
$out_dir = ".build-latexmk";
# 指定生成PDF文件的文件名,可以与LaTeX主文件名不一致
#$jobname = "Book";
# .latexmkrc end