summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/emk9
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/fmk9
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/imk5
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/pmk43
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/rmk2
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/tmk11
-rwxr-xr-xMaster/texmf-dist/scripts/minitoc/xmk10
7 files changed, 75 insertions, 14 deletions
diff --git a/Master/texmf-dist/scripts/minitoc/emk b/Master/texmf-dist/scripts/minitoc/emk
index 47fd98eafb4..4e97cf4394b 100755
--- a/Master/texmf-dist/scripts/minitoc/emk
+++ b/Master/texmf-dist/scripts/minitoc/emk
@@ -6,23 +6,32 @@ if ( -f minitoc.maf ) then
endif
# create the english documentation (PDF): 4 pdflatex runs, with index and biblio
pdflatex minitoc.dtx
+touch minitoc.ind minitoc.idx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
bibtex minitoc
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
# cleaning
echo 'Cleaning'
if ( -f minitoc.maf ) then
diff --git a/Master/texmf-dist/scripts/minitoc/fmk b/Master/texmf-dist/scripts/minitoc/fmk
index 1acc57b1757..14ade5deda1 100755
--- a/Master/texmf-dist/scripts/minitoc/fmk
+++ b/Master/texmf-dist/scripts/minitoc/fmk
@@ -6,23 +6,32 @@ if ( -f fminitoc.maf ) then
endif
# create the french documentation (PDF): 4 pdflatex runs, with index and biblio
pdflatex fminitoc.dtx
+touch fminitoc.idx fminitoc.ind
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
+# -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
bibtex fminitoc
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
# Cleaning
if ( -f fminitoc.maf ) then
cat fminitoc.maf | xargs -i -t \rm {}
diff --git a/Master/texmf-dist/scripts/minitoc/imk b/Master/texmf-dist/scripts/minitoc/imk
index 0ed632d15e8..db26bacaf2c 100755
--- a/Master/texmf-dist/scripts/minitoc/imk
+++ b/Master/texmf-dist/scripts/minitoc/imk
@@ -5,9 +5,8 @@ if ( -d $OLD ) then
else
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 minitoc.sty mtcoff.sty mtcmess.sty mtcpatchmem.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
@@ -16,7 +15,7 @@ foreach i ( \
mtc-2c mtc-2nd mtc-3co mtc-add mtc-ads 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-mem mtc-mm1 mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn \
mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
foreach j ( tex pdf )
diff --git a/Master/texmf-dist/scripts/minitoc/pmk b/Master/texmf-dist/scripts/minitoc/pmk
index dc5719bb0d4..97c031f469c 100755
--- a/Master/texmf-dist/scripts/minitoc/pmk
+++ b/Master/texmf-dist/scripts/minitoc/pmk
@@ -21,7 +21,7 @@ foreach i ( \
mtc-2c mtc-2nd mtc-3co mtc-add mtc-ads 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-mem mtc-mm1 mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn \
mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
foreach j ( tex pdf )
@@ -39,24 +39,33 @@ if ( -f minitoc.maf ) then
cat minitoc.maf | xargs -i -t \rm {}
endif
echo 'Creating the english documentation...'
+touch minitoc.idx minitoc.ind
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
bibtex minitoc
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
makeindex -s minitoc.ist -o minitoc.ind minitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < minitoc.ind | sed -e 's/\\hfill}/}&/' > minitoc.ind2; mv minitoc.ind2 minitoc.ind
mv minitoc.ilg minitoc.ilg1
#
pdflatex minitoc.dtx
sed -e's/:>/=/' < minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
+# grep -v 'indexentry{! =' minitoc.idx > minitoc.idx1; mv minitoc.idx1 minitoc.idx
endif
# french documentation
if ( -f fminitoc.dtx ) then
@@ -64,25 +73,34 @@ if ( -f fminitoc.maf ) then
cat fminitoc.maf | xargs -i -t \rm {}
endif
echo 'Creating the french documentation...'
+touch fminitoc.idx fminitoc.ind
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
# create the french documentation (PDF): 4 pdflatex runs, with index and biblio
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# grep -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
bibtex fminitoc
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# grep -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# grep -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
makeindex -s fminitoc.ist -o fminitoc.ind fminitoc.idx
+# sed -e's/\hfill{}/&\\ATOC{/' < fminitoc.ind | sed -e 's/\\hfill}/}&/' > fminitoc.ind2; mv fminitoc.ind2 fminitoc.ind
mv fminitoc.ilg fminitoc.ilg1
#
pdflatex fminitoc.dtx
sed -e's/:>/=/' < fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
+# grep -v 'indexentry{! =' fminitoc.idx > fminitoc.idx1; mv fminitoc.idx1 fminitoc.idx
else
echo 'French is still missing'
endif
@@ -101,22 +119,24 @@ foreach f ( mtc-add mtc-ads )
end
end
#
-foreach f ( \
+foreach i ( 1 2 3 )
+ 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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
- foreach i ( 1 2 3 )
pdflatex $f
end
+ makeindex -s nomencl.ist -o mtc-nom.nls mtc-nom.nlo
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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs 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
+\rm mtc-nom.nlo mtc-nom.nls
#######################
# repartition
echo 'Repartition of files into classes'
@@ -152,7 +172,7 @@ foreach i ( tex pdf )
foreach j ( \
mtc-2c mtc-2nd mtc-3co mtc-add mtc-ads 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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
cp $j.$i ${WCL}3
end
@@ -413,9 +433,14 @@ kannada.mld \
khalkha.mld \
latin.mld \
latin2.mld \
+latinc.mld \
+latinc2.mld \
latvian.mld \
+latvian2.mld \
letton.mld \
+letton2.mld \
lithuanian.mld \
+lithuanian2.mld \
lowersorbian.mld \
lsorbian.mld \
magyar.mld \
@@ -600,6 +625,12 @@ mtc-mm1.pdf \
mtc-mm1.tex \
mtc-mu.pdf \
mtc-mu.tex \
+mtc-nom.pdf \
+mtc-nom.tex \
+mtc-ocf.pdf \
+mtc-ocf.tex \
+mtc-ofs.pdf \
+mtc-ofs.tex \
mtc-sbf.pdf \
mtc-sbf.tex \
mtc-scr.pdf \
diff --git a/Master/texmf-dist/scripts/minitoc/rmk b/Master/texmf-dist/scripts/minitoc/rmk
index 571f8622d10..7bd40329d43 100755
--- a/Master/texmf-dist/scripts/minitoc/rmk
+++ b/Master/texmf-dist/scripts/minitoc/rmk
@@ -32,7 +32,7 @@ foreach i ( tex pdf )
foreach j ( \
mtc-2c mtc-2nd mtc-3co mtc-add mtc-ads 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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
cp $j.$i ${WCL}3
end
diff --git a/Master/texmf-dist/scripts/minitoc/tmk b/Master/texmf-dist/scripts/minitoc/tmk
index 11447ce314f..f554df9352b 100755
--- a/Master/texmf-dist/scripts/minitoc/tmk
+++ b/Master/texmf-dist/scripts/minitoc/tmk
@@ -218,9 +218,14 @@ kannada.mld \
khalkha.mld \
latin.mld \
latin2.mld \
+latinc.mld \
+latinc2.mld \
latvian.mld \
+latvian2.mld \
letton.mld \
+letton2.mld \
lithuanian.mld \
+lithuanian2.mld \
lowersorbian.mld \
lsorbian.mld \
magyar.mld \
@@ -405,6 +410,12 @@ mtc-mm1.pdf \
mtc-mm1.tex \
mtc-mu.pdf \
mtc-mu.tex \
+mtc-nom.pdf \
+mtc-nom.tex \
+mtc-ocf.pdf \
+mtc-ocf.tex \
+mtc-ofs.pdf \
+mtc-ofs.tex \
mtc-sbf.pdf \
mtc-sbf.tex \
mtc-scr.pdf \
diff --git a/Master/texmf-dist/scripts/minitoc/xmk b/Master/texmf-dist/scripts/minitoc/xmk
index 9f604f820fe..7efb4c94177 100755
--- a/Master/texmf-dist/scripts/minitoc/xmk
+++ b/Master/texmf-dist/scripts/minitoc/xmk
@@ -13,19 +13,21 @@ foreach f ( mtc-add mtc-ads )
end
end
#######################
-foreach f ( \
+foreach i ( 1 2 3 )
+ 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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs mtc-sbf mtc-scr mtc-syn mtc-tbi mtc-tlc mtc-tlo mtc-tsf \
)
- foreach i ( 1 2 3 )
pdflatex $f
end
+ makeindex -s nomencl.ist -o mtc-nom.nls mtc-nom.nlo
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 \
+ mtc-mu mtc-nom mtc-ocf mtc-ofs 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
+ \rm -f mtc-nom.nls mtc-nom.nlo
end