.latexmkrc 475 B

1234567891011121314151617181920
  1. # -*- cperl -*-
  2. $ENV{'TEXINPUTS'} = './texmf//:' . $ENV{'TEXINPUTS'};
  3. push @generated_exts, 'glo', 'gls', 'glg';
  4. push @generated_exts, 'acn', 'acr', 'alg';
  5. $clean_ext .= ' %R.ist %R.xdy';
  6. add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
  7. add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
  8. sub run_makeglossaries {
  9. print "\t\tBulding Glossaries\n";
  10. if ( $silent ) {
  11. system "makeglossaries -q '$_[0]'";
  12. }
  13. else {
  14. system "makeglossaries '$_[0]'";
  15. };
  16. }