summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/xmk
blob: 0a24cf8ea51e15b03738a18eecd181fb0cc2b6d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#! /bin/csh
#######################
foreach f ( add addsec )
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
if ( -e $f.maf) then
        \rm -f `cat $f.maf` $f.aux $f.log $f.toc $f.bbl $f.blg $f.lof $f.lot $f.ind $f.idx %f.ind
endif
end
#######################
foreach f ( hide1 hide2 apx app-mem mem mem1 fo1 fo2 scr subf \
            tsfc tbi 2c bo hop cri livre ch0 tlc mu hir hia gaps \
            minitoc-ex mini-art second )
   foreach i ( 1 2 3 )
      pdflatex $f
   end
if ( -e $f.maf) then
        \rm -f `cat $f.maf` $f.aux $f.log $f.toc $f.bbl $f.blg $f.lof $f.lot $f.ind $f.idx %f.ind
endif
end