Debian Codegraph @

texmf-dist/doc/latex/minitoc/xmk

raw
1 #! /bin/csh -f
2 #######################
3 foreach f ( mtc-add mtc-ads )
4 foreach i ( 1 2 3 )
5 pdflatex $f
6 bibtex $f
7 if ( -e $f.idx ) then
8 makeindex -s gind.ist -o $f.ind $f.idx
9 endif
10 if ( -e $f.glo ) then
11 makeindex -s gglo.ist -o $f.gls $f.glo
12 endif
13 end
14 end
15 #######################
16 foreach i ( 1 2 3 )
17 foreach f ( \
18 mtc-2c mtc-2nd mtc-3co mtc-amm mtc-apx mtc-art mtc-bk mtc-bo mtc-ch0 mtc-cri \
19 mtc-fko mtc-fo1 mtc-fo2 mtc-gap mtc-hi1 mtc-hi2 mtc-hia mtc-hir mtc-hop mtc-liv mtc-mem mtc-mm1 \
20 mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf mtc-vti \
21 )
22 pdflatex $f
23 end
24 makeindex -s nomencl.ist -o mtc-nom.nls mtc-nom.nlo
25 end
26 foreach f ( mtc-add mtc-ads \
27 mtc-2c mtc-2nd mtc-3co mtc-amm mtc-apx mtc-art mtc-bk mtc-bo mtc-ch0 mtc-cri \
28 mtc-fko mtc-fo1 mtc-fo2 mtc-gap mtc-hi1 mtc-hi2 mtc-hia mtc-hir mtc-hop mtc-liv mtc-mem mtc-mm1 \
29 mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf mtc-vti \
30 )
31 \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
32 \rm -f mtc-nom.nls mtc-nom.nlo
33 end