Add latexmkrc

This commit is contained in:
flyingscorpio@clevo 2022-09-20 09:03:22 +02:00
parent 26142d1703
commit 62f65a9923

12
.latexmkrc Normal file
View file

@ -0,0 +1,12 @@
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
system("makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
}
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';
$out_dir='build';