-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlatexmkrc
29 lines (21 loc) · 960 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
#sub run_asy { return system("asy '$_[0]'"); }
sub run_asy {return system("asy -o \"$_[0]\" \"$_[0]\"");}
sub von_run { return system("bash '$_[0].von'"); }
add_cus_dep("asy", "eps", 0, "run_asy");
add_cus_dep("asy", "pdf", 0, "run_asy");
add_cus_dep("asy", "tex", 0, "run_asy");
add_cus_dep("von", "out", 0, "von_run");
$pdf_mode = 1;
$max_repeat = 7;
$pdf_previewer = "zathura %O %S &";
$latex = 'latex -interaction=nonstopmode -shell-escape';
#$pdflatex = 'pdflatex -interaction=nonstopmode -shell-escape -synctex=1';
$pdflatex='xelatex -interaction=nonstopmode -shell-escape -synctex=1 %O %S';
$cleanup_includes_generated = 0;
$cleanup_includes_cusdep_generated = 1;
@generated_exts = ( 'aux', 'bbl', 'bcf', 'fls', 'idx', 'ind', 'lof',
'lot', 'out', 'pre', 'toc', 'nav', 'snm', 'von');
# don't hash calc for deep system dependencies
$hash_calc_ignore_pattern{'map'} = '^';
$hash_calc_ignore_pattern{'fmt'} = '^';
# vim: ft=perl