12345678910111213141516171819202122232425262728 |
- # -*- cperl -*-
- $ENV{'TEXINPUTS'} = './texmf//:' . $ENV{'TEXINPUTS'};
- push @generated_exts, 'glo', 'gls', 'glg';
- push @generated_exts, 'acn', 'acr', 'alg';
- $clean_ext .= ' %R.ist %R.xdy';
- add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
- add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
- sub run_makeglossaries {
- print "\t\tBulding Glossaries\n";
- if ( $silent ) {
- system "makeglossaries -q '$_[0]'";
- }
- else {
- system "makeglossaries '$_[0]'";
- };
- }
- sub eps2pdf {
- system("epstopdf --hires $_[0].eps");
- }
- add_cus_dep("eps", "pdf", 0, "eps2pdf");
- set_tex_cmds(' -shell-escape -synctex=1 %O %S');
|