Add .latexmkrc

This commit is contained in:
flyingscorpio@arch-desktop 2021-09-10 23:08:57 +02:00
parent c196391ade
commit 5170f94ccb

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