summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support/makedtx/latexmkrc.pl
blob: c65ad6ffddc0587ac950b01027dd6cd85086f61f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$dvi_mode = 0;
$pdf_mode = 1;

@default_files=();
foreach $file (glob('makedtx.{dtx,tex}'))
{
   if(-e $file){
      @default_files=($file);
      break;
   }
}

$makeindex= "makeindex -s gind.ist %O -o %D %S";

# 1. For glossaries using glossary package --- \changes generatated by the ltxdoc \changes directive
add_cus_dep( 'glo', 'gls', 0, 'makeglo2gls' );
sub makeglo2gls {
    system("makeindex -s gglo.ist -t \"$_[0].glg\" -o \"$_[0].gls\" \"$_[0].glo\"" );
}