diff options
Diffstat (limited to 'Master/texmf-dist/scripts/minitoc/xmk')
-rwxr-xr-x | Master/texmf-dist/scripts/minitoc/xmk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Master/texmf-dist/scripts/minitoc/xmk b/Master/texmf-dist/scripts/minitoc/xmk new file mode 100755 index 00000000000..9f604f820fe --- /dev/null +++ b/Master/texmf-dist/scripts/minitoc/xmk @@ -0,0 +1,31 @@ +#! /bin/csh +####################### +foreach f ( mtc-add mtc-ads ) + foreach i ( 1 2 3 ) + pdflatex $f + bibtex $f + if ( -e $f.idx ) then + makeindex -s gind.ist -o $f.ind $f.idx + endif + if ( -e $f.glo ) then + makeindex -s gglo.ist -o $f.gls $f.glo + endif + end +end +####################### +foreach f ( \ + mtc-2c mtc-2nd mtc-3co mtc-amm mtc-apx mtc-art mtc-bk mtc-bo mtc-ch0 mtc-cri \ + mtc-fko mtc-fo1 mtc-fo2 mtc-gap mtc-hi1 mtc-hi2 mtc-hia mtc-hir mtc-hop mtc-liv mtc-mem mtc-mm1 \ + mtc-mu mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \ + ) + foreach i ( 1 2 3 ) + pdflatex $f + end +end +foreach f ( mtc-add mtc-ads \ + mtc-2c mtc-2nd mtc-3co mtc-amm mtc-apx mtc-art mtc-bk mtc-bo mtc-ch0 mtc-cri \ + mtc-fko mtc-fo1 mtc-fo2 mtc-gap mtc-hi1 mtc-hi2 mtc-hia mtc-hir mtc-hop mtc-liv mtc-mem mtc-mm1 \ + mtc-mu mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \ + ) + \rm -f `cat $f.maf` $f.aux $f.log $f.toc $f.bbl $f.blg $f.lof $f.lot $f.ind $f.idx $f.ilg $f.ind $f.maf +end |