-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.latexmkrc
37 lines (29 loc) · 1.18 KB
/
.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
34
35
36
$ENV{'TEXINPUTS'}='./common//:' . $ENV{'TEXINPUTS'};
$ENV{'BSTINPUTS'}='./common//:' . $ENV{'BSTINPUTS'};
#ensure_path( 'TEXINPUTS', './common//' ); #needs latexmk v4.70b
#ensure_path( 'BSTINPUTS', './common//' ); #needs latexmk v4.70b
add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' );
sub makenlo2nls {
system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" );
}
$pdf_mode = 1; # tex -> pdf
#$pdf_mode = 2; # tex -> ps -> pdf
#$postscript_mode = 1; # tex -> ps
$pdf_previewer = "start evince";
#$dvi_previewer = 'start xdvi -watchfile 1.5';
#$ps_previewer = 'start gv --watch';
# $latex, $pdflatex, $lualatex, and $xelatex
# Uncomment for pdflatex
#$pdflatex = 'pdflatex %O %S';
# Uncomment below 2 line for luaflatex
#$pdflatex = "lualatex %O %S";
#$pdf_mode = 1; $postscript_mode = $dvi_mode = 0;
# Uncomment below 2 line for xeflatex
$pdflatex = "xelatex %O %S";
$pdf_mode = 1; $postscript_mode = $dvi_mode = 0;
@default_files = ('thesis.tex');
$clean_ext = "bbl nav out snm";
#$bibtex_use = 0 # Never run bibtex or biber
$bibtex_use = 2 # Use bibtex
#$latex = 'latex -interaction=nonstopmode -shell-escape';
#$pdflatex = 'pdflatex -interaction=nonstopmode -shell-escape';