You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
748 B
24 lines
748 B
# make sure that "makeglossaries" works with latexmk
|
|
# # https://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries/44316#44316
|
|
|
|
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
|
|
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
|
|
|
|
sub run_makeglossaries {
|
|
if ( $silent ) {
|
|
system "makeglossaries -q -s '$_[0].ist' '$_[0]'";
|
|
}
|
|
else {
|
|
system "makeglossaries -s '$_[0].ist' '$_[0]'";
|
|
};
|
|
}
|
|
|
|
push @generated_exts, 'glo', 'gls', 'glg';
|
|
push @generated_exts, 'acn', 'acr', 'alg';
|
|
|
|
# -----------------------------------
|
|
|
|
# Clean everything.
|
|
# https://tex.stackexchange.com/questions/84006
|
|
# https://tex.stackexchange.com/questions/83341
|
|
$clean_ext .= ' %R.ist %R.xdy %R.bbl %R.glsdefs %R.run.xml %R.lol %R.tdo';
|