Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
latexmkrc 638 B
# LaTeXmk compiler configuration file
# -----------------------------------------------------------------------------

ensure_path('TEXINPUTS', '../../style//', '../../illustrations//');

# Set compiler option (same option for all compilers)
set_tex_cmds('-synctex=1 -interaction=nonstopmode -file-line-error %O %S');
$pdf_mode = 4;  # 1: use pdflatex, 4: use lualatex, 5 use xelatex

# Delete bbl files without checking if bib is available (dangerous when bib files are not available)
$bibtex_use = 2;

# Additional files to clean
$clean_ext = 'synctex.gz synctex.gz(busy) run.xml tex.bak bcf fdb_latexmk run tdo %R-blx.bib nav snm vrb'