diff options
Diffstat (limited to 'Master/texmf-dist/scripts/minitoc/fmk')
-rwxr-xr-x | Master/texmf-dist/scripts/minitoc/fmk | 9 |
1 files changed, 9 insertions, 0 deletions
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 {} |