# LaTeXmk compiler configuration file
# https://mirror.koddos.net/CTAN/support/latexmk/latexmk.pdf

# Set master documents
@default_files = ('rotare-doc.tex');

# Set paths for packages, figures and bibliography
ensure_path('TEXINPUTS', './style//','./figures//');
# Set path for bibliography style
ensure_path('BSTINPUTS', './style/');

# 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;