forked from obster-y/XJTU-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlatexmkrc
25 lines (20 loc) · 771 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
$pdf_mode = 1;
$xelatex = "xelatex -synctex=1 --shell-escape -interaction=nonstopmode %O %S";
$pdflatex = "xelatex -synctex=1 --shell-escape -interaction=nonstopmode %O %S";
$biber = "biber --validate-datamodel %O %S";
$preview_mode = 1;
$cleanup_mode = 2;
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
if ( $silent ) {
system "makeglossaries -q $_[0]";
}
else {
system "makeglossaries $_[0]";
};
}
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
push @generated_exts, 'synctex.gz';
$clean_ext = 'acn acr alg aux bbl bcf blg brf fdb_latexmk glg glo gls idx ilg ind ist lof log lot out run.xml toc toe dvi slg slo sls xdy listing'