forked from HKFoggyU/hkust-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlatexmkrc
28 lines (22 loc) · 781 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
26
27
28
# 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 gls glo ilg ins loe log ptc run.xml synctex.gz thm xdv";
$makeindex = "makeindex %O -s gind.ist -o %D %S";
add_cus_dep('glo','gls',0,'makeindex');
sub makeindex {
if ( $silent ) {
system( "makeindex -q -s gglo.ist -o \"$_[0].gls\" \"$_[0].glo\"" );
}
else {
system( "makeindex -s gglo.ist -o \"$_[0].gls\" \"$_[0].glo\"" );
};
}
$makeindex_silent_switch = "-q";
add_cus_dep('nlo', 'nls', 0, 'nlo2nls');
sub nlo2nls {
system("makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"");
}
push @generated_exts, 'nlo', 'nls';