generated from code-instable/LaTeX-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.latexmkrc
28 lines (28 loc) · 859 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
# ~ LATEX COMMANDS
$latex = 'latex -shell-escape -interaction=nonstopmode';
$pdflatex = 'pdflatex -synctex=1 -shell-escape -interaction=nonstopmode';
# PROJECT CODE FILES
$do_cd= 1;
$cd_dir="src";
@default_files = ('src/rapport.tex', 'src/documentation.tex', 'src/tests.tex');
# ~ OUTPUT FILES
$pdf_mode=1; # use pdflatex
# $dvi_mode=0; # render dvi
$out_dir = "../out";
# ~ AUXILIARY FILES
$clean_ext = "bbl nav out snm";
@generated_exts = (@generated_exts, 'synctex.gz');
$emulate_aux = 1;
$aux_dir = "../aux_files";
# ~ LOG AND REPORTS
$aux_out_dir_report = 1;
# VIEWER
if ($^O eq 'MSWin32') {
$pdf_previewer = 'start gsview32';
} elsif ($^O eq 'darwin') {
$pdf_previewer = 'open -a Skim';
} elsif ($^O eq 'linux') {
# '${HOME}/bin/evince_synctex.zsh listen code --goto %f:%l'
$pdf_previewer = "evince";
$dvi_previewer = 'start xdvi';
}