forked from SircasticFox/nosql-book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.latexmkrc
33 lines (25 loc) · 768 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
29
30
31
32
33
# Run makeglossaries
# Copied from: https://tex.stackexchange.com/a/44316
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';
$clean_ext .= ' %R.ist %R.xdy';
# Custom configuration
@default_files = ("main.tex");
$pdf_mode = 1;
$dvi_mode = 0;
$ps_mode = 0;
$recorder = 1;
$latex = 'latex %O --shell-escape %S';
$pdflatex = 'pdflatex %O --shell-escape %S';
$bibtex_use = 2; # remove .bbl from output on clean
@generated_exts = qw(fls lof lot out toc ist lol run.xml synctex.gz);