summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/imk
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/imk')
-rwxr-xr-xMaster/texmf-dist/doc/latex/minitoc/imk34
1 files changed, 26 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/imk b/Master/texmf-dist/doc/latex/minitoc/imk
index e0165bfbc49..95828375726 100755
--- a/Master/texmf-dist/doc/latex/minitoc/imk
+++ b/Master/texmf-dist/doc/latex/minitoc/imk
@@ -1,13 +1,31 @@
#! /bin/csh
-if ( -d OLD ) then
+set w=`whoami`
+set OLD=/tmp/$w/OLD
+if ( -d $OLD ) then
else
- mkdir OLD
+ mkdir -p $OLD
endif
-mv minitoc.sty mtcoff.sty mtcmess.sty minitoc.ist fminitoc.dtx fminitoc.ist minitoc.pre franc.sty frbib.sty frnew.sty OLD
-mv mypatches.sty boldsc.sty OLD
-mv mtcpatchmem.sty OLD
-mv *.mld OLD
-mv *.mlo OLD
-mv *.lan OLD
+mv minitoc.sty mtcoff.sty mtcmess.sty minitoc.ist fminitoc.dtx fminitoc.ist minitoc.pre franc.sty frbib.sty frnew.sty $OLD
+mv mypatches.sty boldsc.sty $OLD
+mv mtcpatchmem.sty $OLD
+mv *.mld $OLD
+mv *.mlo $OLD
+mv *.lan $OLD
+mv add.bib $OLD
+foreach i ( tex )
+ mv gaps.$i $OLD
+ mv apx.$i $OLD
+ mv app-mem.$i mem.$i mem1.$i fo1.$i fo2.$i scr.$i subf.$i tsfc.$i tbi.$i 2c.$i bo.$i hop.$i cri.$i $OLD
+ mv livre.$i ch0.$i tlc.$i mu.$i hide1.$i hide2.$i hir.$i hia.$i $OLD
+ mv add.$i addsec.$i minitoc-ex.$i mini-art.$i second.$i $OLD
+end
+foreach i ( pdf )
+ cp gaps.$i $OLD
+ cp apx.$i $OLD
+ cp app-mem.$i mem.$i mem1.$i fo1.$i fo2.$i scr.$i subf.$i tsfc.$i tbi.$i 2c.$i bo.$i hop.$i cri.$i $OLD
+ cp livre.$i ch0.$i tlc.$i mu.$i hide1.$i hide2.$i hir.$i hia.$i $OLD
+ cp add.$i addsec.$i minitoc-ex.$i mini-art.$i second.$i $OLD
+end
latex minitoc.ins
cp minitoc.log minitoc.log1
+cat add.bib |grep -v endinput|grep -v '^%%' > addbib;mv addbib add.bib