blob: e9a78c0043d8303315e917b4b8b46a848a2fe9b2 (
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 ( 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
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 $f.maf
endif
end
#######################
foreach f ( mtc-hi1 mtc-hi2 mtc-apx mtc-amm mtc-mem mtc-mm1 mtc-fo1 mtc-fo2 mtc-scr mtc-sbf \
mtc-tsf mtc-tbi mtc-2c mtc-bo mtc-hop mtc-cri mtc-liv mtc-ch0 mtc-tlc mtc-mu mtc-hir mtc-hia mtc-gap \
mtc-bk mtc-art mtc-2nd mtc-syn )
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 $f.maf
endif
end
|