Paper-Makefile/.latexmkrc

15 lines
345 B
Perl

$lualatex = 'lualatex -interaction=nonstopmode';
$pdflatex = 'pdflatex -interaction=nonstopmode';
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
if ( $silent ) {
system "makeglossaries -q '$_[0]'";
}
else {
system "makeglossaries '$_[0]'";
};
}