This repository has been archived on 2024-07-01. You can view files and clone it, but cannot push or open issues or pull requests.
Praxisbericht-Template/.latexmkrc

31 lines
743 B
Plaintext
Raw Normal View History

2023-09-15 13:30:07 +00:00
# make file for latex
@default_files = ('main.tex');
$pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S';
# Specify the bibliography
$bibtex = 'bibtex %O %B';
$makeglossaries = 'makeglossaries %O %B';
# Continuous preview mode
$continuous_mode = 1;
# Output to PDF
$pdf_mode = 1;
# Keep auxiliary files
$clean_ext = "";
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );
$clean_ext .= " acr acn alg glo gls glg";
sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
my @args = ( "-q", "-d", $path, $base_name );
if ($silent) { unshift @args, "-q"; }
return system "makeglossaries", "-d", $path, $base_name;
}
# Silence warnings
$silent = 1;