summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/fmk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-23 23:10:50 +0000
committerKarl Berry <karl@freefriends.org>2009-05-23 23:10:50 +0000
commit40c62ba956478b3135c969ecde68aba68703c69d (patch)
treee0d03f0a9b4dbd48313142b17c824bc75d2153ce /Master/texmf-dist/doc/latex/minitoc/fmk
parent23972caf1157935c20dc48330507693540f304a2 (diff)
minitoc non-tds update (22may09)
git-svn-id: svn://tug.org/texlive/trunk@13434 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/fmk')
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/fmk35
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/fmk b/Master/texmf-dist/doc/latex/minitoc/fmk
new file mode 100644
index 00000000000..3f3095764ea
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/fmk
@@ -0,0 +1,35 @@
+#! /bin/csh
+if ( -f minitoc-fr.dtx ) then
+echo 'Creating the french documentation...'
+if ( -f minitoc-fr.maf ) then
+ \rm minitoc-fr.maf
+endif
+# create the french documentation (PDF): 4 pdflatex runs, with index and biblio
+touch minitoc-fr.idx minitoc-fr.ind
+pdflatex minitoc-fr.dtx
+grep -v '\\ \[]\|' minitoc-fr.idx | grep -v '|main}{1}$' | grep -v '\! =\\verb\!\*+\!\\\! +' > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+sed -e's/:>/=/' < minitoc-fr.idx > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+bibtex minitoc-fr
+makeindex -s minitoc-fr.ist -o minitoc-fr.ind minitoc-fr.idx
+mv minitoc-fr.ilg minitoc-fr.ilg1
+#
+pdflatex minitoc-fr.dtx
+grep -v '\\ \[]\|' minitoc-fr.idx | grep -v '|main}{1}$' | grep -v '\! =\\verb\!\*+\!\\\! +' > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+sed -e's/:>/=/' < minitoc-fr.idx > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+makeindex -s minitoc-fr.ist -o minitoc-fr.ind minitoc-fr.idx
+mv minitoc-fr.ilg minitoc-fr.ilg1
+#
+pdflatex minitoc-fr.dtx
+grep -v '\\ \[]\|' minitoc-fr.idx | grep -v '|main}{1}$' | grep -v '\! =\\verb\!\*+\!\\\! +' > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+sed -e's/:>/=/' < minitoc-fr.idx > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+makeindex -s minitoc-fr.ist -o minitoc-fr.ind minitoc-fr.idx
+mv minitoc-fr.ilg minitoc-fr.ilg1
+#
+pdflatex minitoc-fr.dtx
+grep -v '\\ \[]\|' minitoc-fr.idx | grep -v '|main}{1}$' | grep -v '\! =\\verb\!\*+\!\\\! +' > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+sed -e's/:>/=/' < minitoc-fr.idx > minitoc-fr.idx1; mv minitoc-fr.idx1 minitoc-fr.idx
+# Cleaning
+if ( -f minitoc-fr.maf ) then
+ cat minitoc-fr.maf | xargs -i -t \rm {}
+endif
+endif