BachelorWork/latexmkrc

14 lines
428 B
Plaintext
Raw Permalink Normal View History

2021-05-24 20:44:55 +00:00
# Building glossaries. Copied from
# http://mirrors.ctan.org/support/latexmk/example_rcfiles/glossary_latexmkrc
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] );
pushd $path;
my $return = system "makeglossaries", $base_name;
popd;
return $return;
}