summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/minitoc/examples
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-05-05 00:32:25 +0000
committerKarl Berry <karl@freefriends.org>2007-05-05 00:32:25 +0000
commit9b4d9fe2a30822e0aa2a2e8c7e21552dc58adec0 (patch)
tree645ae2b48d74eb006d6c9a8ec8b97d0a1d2e8b79 /Master/texmf-dist/doc/latex/minitoc/examples
parentfa6c84fd7d86f3f01d6f2f41f5623a93a474fe99 (diff)
minitoc 53 (23mar07), now from an author-prepared tds.zip
git-svn-id: svn://tug.org/texlive/trunk@4240 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/minitoc/examples')
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdfbin0 -> 46122 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex84
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdfbin0 -> 65561 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex70
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdfbin0 -> 87083 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex127
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib35
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdfbin0 -> 83041 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex212
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdfbin0 -> 84322 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex287
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdfbin0 -> 41010 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex63
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdfbin0 -> 42170 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex81
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdfbin0 -> 91429 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex282
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdfbin0 -> 95572 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex297
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdfbin0 -> 147768 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex203
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdfbin0 -> 34048 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex84
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdfbin0 -> 128644 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex91
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdfbin0 -> 17641 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex52
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdfbin0 -> 45264 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex72
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdfbin0 -> 51335 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex80
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdfbin0 -> 29710 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex58
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdfbin0 -> 24429 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex95
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdfbin0 -> 24429 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex93
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdfbin0 -> 35300 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex82
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdfbin0 -> 35837 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex80
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdfbin0 -> 47965 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex84
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdfbin0 -> 264892 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex207
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdfbin0 -> 41598 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex68
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdfbin0 -> 35747 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex67
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdfbin0 -> 45639 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex106
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdfbin0 -> 35511 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex92
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdfbin0 -> 30650 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex81
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdfbin0 -> 31177 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex75
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdfbin0 -> 38351 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex83
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdfbin0 -> 28957 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex68
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdfbin0 -> 41642 bytes
-rw-r--r--Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex132
63 files changed, 3591 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf
new file mode 100644
index 00000000000..e559018df78
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex
new file mode 100644
index 00000000000..ecafbaa4568
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2c.tex
@@ -0,0 +1,84 @@
+%%
+%% This is file `mtc-2c.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-2c')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt,a4paper]%
+ {report}
+\ProvidesFile{mtc-2c.tex}%
+ [2007/01/04]
+\usepackage{multicol}
+\usepackage{lipsum}
+\usepackage%
+ [tight,latin,listfiles]{minitoc}
+\usepackage[latin]{babel}
+\setlength{\mtcindent}{0pt}
+\begin{document}
+\dominitoc
+\tableofcontents
+\chapter{Primum capitulum}
+\begin{multicols}{2}[\minitoc]
+\section{Prima sectio}
+\lipsum[1-2]
+\section{Secunda sectio}
+\lipsum[3-4]
+\end{multicols}
+\chapter{Secundum capitulum}
+\begin{multicols}{2}[\minitoc]
+\section{Prima sectio}
+\lipsum[5-6]
+\section{Secunda sectio}
+\lipsum[7-8]
+\section{Tertia sectio}
+\lipsum[9-10]
+\end{multicols}
+\begin{multicols}{2}
+\chapter{Tertium capitulum}
+\minitoc
+\section{Prima sectio}
+\lipsum[11-12]
+\section{Secunda sectio}
+\lipsum[13-14]
+\section{Tertia sectio}
+\lipsum[15-16]
+\end{multicols}
+\chapter{Quadrum capitulum}
+\begin{multicols}{2}
+\minitoc
+\section{Prima sectio}
+\lipsum[16-17]
+\section{Secunda sectio}
+\lipsum[18-19]
+\section{Tertia sectio}
+\lipsum[20-21]
+\end{multicols}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-2c.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf
new file mode 100644
index 00000000000..047d6ad95da
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex
new file mode 100644
index 00000000000..33b17051d5f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-2nd.tex
@@ -0,0 +1,70 @@
+%%
+%% This is file `mtc-2nd.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-2nd')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+%% Test de french2.mld:
+%% « seconde » ou « deuxième » partie?
+%% compilez 3 fois.
+\documentclass{report}
+\ProvidesFile{mtc-2nd.tex}%
+ [2007/01/04]
+\usepackage[french2,tight,listfiles]{minitoc}
+\usepackage[french]{babel}
+\usepackage{franc,frnew}
+\usepackage[OT1,TS1,T1]{fontenc}
+\usepackage[isolatin]{inputenc}
+\usepackage{mypatches}
+\begin{document}
+\ifmtcsecondpart
+Il n'y a que 2 parties: seconde.
+\else
+Il y a une partie ou plus de deux parties: deuxième.
+\fi
+\clearpage
+\doparttoc
+\faketableofcontents
+\part{P1}
+\parttoc
+\chapter{P1C1}
+\chapter{P1C2}
+\part{P2}
+\parttoc
+\chapter{P2C1}
+\chapter{P2C2}
+%% Commentez la ligne suivante puis recompilez 2 ou 3 fois.
+\end{document}
+\part{P3}
+\parttoc
+\chapter{P3C1}
+\chapter{P3C2}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-2nd.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf
new file mode 100644
index 00000000000..25431816ca4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex
new file mode 100644
index 00000000000..b0cd0f55bce
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-3co.tex
@@ -0,0 +1,127 @@
+%%
+%% This is file `mtc-3co.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-3co')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside]{book}
+\ProvidesFile{mtc-3co.tex}%
+ [2007/02/19]
+\usepackage[a3paper]{geometry}
+\usepackage{lipsum}
+\usepackage{multicol}
+\usepackage[toc]{multitoc}
+\renewcommand{\multicolumntoc}{3}
+%%%%%%%%%%%%%%%%%%%%
+\usepackage[tight]{minitoc}
+\setlength{\mtcindent}{0pt}
+\mtcsetformat{minitoc}{tocrightmargin}{2.55em plus 1fil}
+\newcommand{\multicolumnmtc}{3}
+\makeatletter
+\let\SV@mtc@verse\mtc@verse
+\let\SV@endmtc@verse\endmtc@verse
+\def\mtc@verse{\SV@mtc@verse\removelastskip%
+ \begin{multicols}{\multicolumnmtc}\raggedcolumns\leavevmode\unskip
+ \vskip -1.5ex \vskip -1\baselineskip}
+\def\endmtc@verse{\end{multicols}\SV@endmtc@verse}
+\makeatother
+%%%%%%%%%%%%%%%%%%%%
+\begin{document}
+\dominitoc
+\tableofcontents
+\chapter{First chapter}
+\minitoc
+\begin{multicols}{2}
+\section{First section} \lipsum[\arabic{section}]
+\section{Second section} \lipsum[\arabic{section}]
+\section{Third section} \lipsum[\arabic{section}]
+\section{Fourth section} \lipsum[\arabic{section}]
+\section{Fifth section} \lipsum[\arabic{section}]
+\section{Sixth section} \lipsum[\arabic{section}]
+\section{Seventh section} \lipsum[\arabic{section}]
+\section{Eighth section} \lipsum[\arabic{section}]
+\section{Ninth section} \lipsum[\arabic{section}]
+\section{Tenth section} \lipsum[\arabic{section}]
+\section{Eleventh section} \lipsum[\arabic{section}]
+\section{Twelfth section} \lipsum[\arabic{section}]
+\section{Thirteenth section} \lipsum[\arabic{section}]
+\section{Fourteenth section} \lipsum[\arabic{section}]
+\section{Fifteenth section} \lipsum[\arabic{section}]
+\section{Sixteenth section} \lipsum[\arabic{section}]
+\section{Seventeenth section} \lipsum[\arabic{section}]
+\section{Eighteenth section} \lipsum[\arabic{section}]
+\section{Nineteenth section} \lipsum[\arabic{section}]
+\section{Twentieth section} \lipsum[\arabic{section}]
+\section{Twenty-first section} \lipsum[\arabic{section}]
+\section{Twenty-second section} \lipsum[\arabic{section}]
+\section{Twenty-third section} \lipsum[\arabic{section}]
+\section{Twenty-fourth section} \lipsum[\arabic{section}]
+\subsection{A very long subsection title,
+ for the fun in a multicolumn
+ table of contents} \lipsum[\arabic{section}]
+\section{Twenty-fifth section} \lipsum[\arabic{section}]
+\section{Twenty-sixth section} \lipsum[\arabic{section}]
+\section{Twenty-seventh section} \lipsum[\arabic{section}]
+\section{Twenty-eighth section} \lipsum[\arabic{section}]
+\section{Twenty-ninth section} \lipsum[\arabic{section}]
+\section{Thirtieth section} \lipsum[\arabic{section}]
+\section{Thirty-first section} \lipsum[\arabic{section}]
+\section{Thirty-second section} \lipsum[\arabic{section}]
+\section{Thirty-third section} \lipsum[\arabic{section}]
+\section{Thirty-fourth section} \lipsum[\arabic{section}]
+\section{Thirty-fifth section} \lipsum[\arabic{section}]
+\section{Thirty-sixth section} \lipsum[\arabic{section}]
+\section{Thirty-seventh section} \lipsum[\arabic{section}]
+\section{Thirty-eighth section} \lipsum[\arabic{section}]
+\section{Thirty-ninth section} \lipsum[\arabic{section}]
+\section{Fortieth section} \lipsum[\arabic{section}]
+\section{Forty-first section} \lipsum[\arabic{section}]
+\section{Forty-second section} \lipsum[\arabic{section}]
+\section{Forty-third section} \lipsum[\arabic{section}]
+\section{Forty-fourth section} \lipsum[\arabic{section}]
+\section{Forty-fifth section} \lipsum[\arabic{section}]
+\section{Forty-sixth section} \lipsum[\arabic{section}]
+\section{Forty-seventh section} \lipsum[\arabic{section}]
+\section{Forty-eighth section} \lipsum[\arabic{section}]
+\section{Forty-ninth section} \lipsum[\arabic{section}]
+\section{Fiftieth section} \lipsum[\arabic{section}]
+\section{Fifty-first section} \lipsum[\arabic{section}]
+\section{Fifty-second section} \lipsum[\arabic{section}]
+\section{Fifty-third section} \lipsum[\arabic{section}]
+\section{Fifty-fourth section} \lipsum[\arabic{section}]
+\section{Fifty-fifth section} \lipsum[\arabic{section}]
+\section{Fifty-sixth section} \lipsum[\arabic{section}]
+\section{Fifty-seventh section} \lipsum[\arabic{section}]
+\section{Fifty-eighth section} \lipsum[\arabic{section}]
+\section{Fifty-ninth section} \lipsum[\arabic{section}]
+\end{multicols}
+\clearpage
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-3co.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib
new file mode 100644
index 00000000000..5bf598e6428
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.bib
@@ -0,0 +1,35 @@
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+@MISC{minitoc,
+ TITLE="The {\textsf{minitoc}} package",
+ AUTHOR="Drucbert, Jean-Pierre F.",
+ ADDRESS="{\texttt{drucbert@onera.fr}}",
+ NOTE="{\url{CTAN:macros/latex/contrib/minitoc/minitoc.pdf}}",
+ MONTH=mar,
+ YEAR=2007}
+
+@MISC{fminitoc,
+ TITLE="Le paquetage {\textsf{minitoc}}",
+ AUTHOR="Drucbert, Jean-Pierre F.",
+ ADDRESS="{\texttt{drucbert@onera.fr}}",
+ NOTE="{\url{CTAN:macros/latex/contrib/minitoc/fminitoc.pdf}}",
+ MONTH=mar,
+ YEAR=2007}
+
+@MISC{shorttoc,
+ TITLE="The {\textsf{shorttoc}} package",
+ AUTHOR="Drucbert, Jean-Pierre F.",
+ ADDRESS="{\texttt{drucbert@onera.fr}}",
+ NOTE="{\url{CTAN:macros/latex/contrib/shorttoc/shorttoc.dtx}}",
+ MONTH=aug,
+ YEAR=2002}
+
+@BOOK{dark,
+ TITLE="{Against a Dark Background}",
+ AUTHOR="Banks, Iain Menzies",
+ PUBLISHER="Bantam Books",
+ ISBN="0553292240 (pb)",
+ YEAR=1993}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf
new file mode 100644
index 00000000000..8b425dde30b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex
new file mode 100644
index 00000000000..6a068e3d695
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-add.tex
@@ -0,0 +1,212 @@
+%%
+%% This is file `mtc-add.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-add')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt,a4paper]{report}
+%%\documentclass[12pt,a4paper]{book}
+\ProvidesFile{mtc-add.tex}%
+ [2007/01/04]
+\usepackage{url}
+\usepackage{tocbibind}
+\usepackage{makeidx}
+\makeatletter
+\newif\ifscan@allowed
+\scan@allowedtrue
+\makeatother
+\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}%
+\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak
+ \dotfil~\ignorespaces}%
+\usepackage[tight,hints,listfiles]{minitoc}
+%%\usepackage{mtcoff}
+\makeindex
+\begin{document}
+\dominitoc
+\dominilof
+\dominilot
+\tableofcontents
+\mtcaddchapter
+\listoffigures
+\mtcaddchapter
+\listoftables
+\mtcaddchapter
+\chapter{First chapter}\index{chapter!normal}
+\minitoc
+\mtcskip
+\minilof
+\mtcskip
+\minilot
+\section{First section}
+
+\begin{figure}[tp]
+\caption{First figure}
+\end{figure}
+\begin{table}[tp]
+\caption{First table}
+\end{table}
+
+\section{Second section}
+A small nice citation from~\cite{dark}:\\
+\index{small}\index{citation}\index{nice}\index{A}\index{a}%
+\index{and}\index{bird}\index{But}\index{cannot}%
+\index{claim}\index{great}\index{he}\index{I}%
+\index{imagine}\index{it}\index{know}\index{land}%
+\index{on}\index{once}\index{that}\index{to}\index{tree}%
+\index{would}\index{yes}%
+\textsf{A bird cannot land once on a great tree and claim to know it.
+But I imagine that he would, yes.}\\
+\hbox{}\hfill
+Iain~M.~\textsc{Banks}~(1993),~\textsl{Against~a~dark~background.}%
+\index{Iain}\index{Banks}\index{Against}\index{dark}\index{background}
+
+\begin{figure}[tp]
+\caption{Second figure}
+\end{figure}
+\begin{table}
+\caption{Second table}
+\end{table}
+\chapter*{Second chapter, starred}
+\index{chapter!starred}
+%% UNCOMMENT ONE AND ONLY ONE OF THE 3 FOLLOWING LINES
+\mtcaddchapter[Second chapter, starred] % OK
+%%\mtcaddchapter[~] % produces a (strange) correct result. OK
+%%\addcontentsline{toc}{xchapter}{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%\mtcaddchapter[] % BAD SOLUTION
+%%\mtcaddchapter % BAD SOLUTION
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\index{tests}
+
+This is a starred chapter; you can test here variations on
+the \verb|\mtcaddchapter| command. Just uncomment one (and
+only one) of the \verb|\mtcaddchapter| commands after
+\verb|\chapter*| in the source code of \texttt{mtc-add.tex}.
+For each case, look at the \index{Table of Contents}Table of Contents
+and at this chapter.
+\index{a}\index{added}\index{after}\index{also}\index{and}%
+\index{at}\index{can}\index{case}\index{chapter}\index{code}%
+\index{command}\index{commands}\index{Contents}\index{each}%
+\index{entries}\index{For}\index{here}\index{I}\index{in}%
+\index{index}\index{is}\index{Just}\index{just}\index{look}%
+\index{lot}\index{of}\index{on}\index{one}\index{only}%
+\index{source}\index{starred}\index{Table}\index{test}%
+\index{the}\index{This}\index{this}\index{to}\index{uncomment}%
+\index{variations}\index{you}%
+I also added a lot of index entries, just to test.
+
+\chapter{Third chapter}
+\index{chapter!normal}
+\minitoc
+\mtcskip
+\minilof
+\mtcskip
+\minilot
+\section{Third section}
+
+\begin{figure}
+\caption{Third figure}
+\end{figure}
+\begin{table}
+\caption{Third table}
+\end{table}
+
+\section{Fourth section}
+
+\begin{figure}
+\caption{Fourth figure}
+\end{figure}
+\begin{table}
+\caption{Fourth table}
+\end{table}
+\nocite*
+\def\noopsort#1{\relax}
+\bibliographystyle{plain}
+\bibliography{mtc-add}
+\adjustmtc
+\printindex
+%%\mtcfixindex % use this OR the 3 following lines
+\addcontentsline{lof}{xchapter}{}
+\addcontentsline{lot}{xchapter}{}
+\mtcaddchapter
+%%
+
+\appendix
+\chapter{App.~1}
+\index{chapter!appendix}
+\minitoc
+\mtcskip
+\minilof
+\mtcskip
+\minilot
+\section{Fifth section}
+
+\begin{figure}
+\caption{Fifth figure}
+\end{figure}
+\begin{table}
+\caption{Fifth table}
+\end{table}
+
+\section{Sixth section}
+
+\begin{figure}
+\caption{Sixth figure}
+\end{figure}
+\begin{table}
+\caption{Sixth table}
+\end{table}
+\chapter{App.~2}
+\index{chapter!appendix}
+%% contains no tables but asks for a minilot! No minilot printed.
+\minitoc
+\mtcskip
+\minilof
+\mtcskip
+\minilot
+\section{Seventh section}
+\begin{figure}
+\caption{Seventh figure}
+\end{figure}
+\begin{figure}
+\caption{Eighth figure}
+\end{figure}
+
+\section{Eighth section}
+
+\begin{figure}
+\caption{Ninth figure}
+\end{figure}
+\begin{figure}
+\caption{Eleventh figure}
+\end{figure}
+
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-add.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf
new file mode 100644
index 00000000000..c9f4c68cea2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex
new file mode 100644
index 00000000000..ce573d86ed9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ads.tex
@@ -0,0 +1,287 @@
+%%
+%% This is file `mtc-ads.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-ads')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside,12pt,a4paper]{article}
+\ProvidesFile{mtc-ads.tex}%
+ [2007/01/04]
+\usepackage{url,tocbibind,makeidx}
+\makeatletter
+\newif\ifscan@allowed
+\scan@allowedtrue
+\makeatother
+\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}%
+\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak
+ \dotfil~\ignorespaces}%
+\usepackage[tight,hints,insection]{minitoc}
+%%\usepackage{mtcoff}
+\makeindex
+\begin{document}
+\doparttoc \dopartlof \dopartlot
+\dosecttoc \dosectlof \dosectlot
+\setcounter{tocdepth}{6}
+\setcounter{parttocdepth}{6}
+\setcounter{secttocdepth}{6}
+\tableofcontents
+\mtcaddsection
+\listoffigures
+\mtcaddsection
+\listoftables
+\mtcaddsection
+\part{Part~1}
+\parttoc \mtcskip \partlof \mtcskip \partlot
+
+\section{First section}
+\index{section!normal}
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{First subsection}
+
+\begin{figure}[tp]
+\caption{First figure}
+\end{figure}
+\begin{table}[tp]
+\caption{First table}
+\end{table}
+
+\subsection{Second subsection}
+A small nice citation from~\cite{dark}:\\
+\index{small}\index{citation}\index{nice}\index{A}%
+\index{a}\index{and}\index{bird}\index{But}%
+\index{cannot}\index{claim}\index{great}\index{he}%
+\index{I}\index{imagine}\index{it}\index{know}%
+\index{land}\index{on}\index{once}\index{that}%
+\index{to}\index{tree}\index{would}\index{yes}%
+A bird cannot land once on a great tree and claim to know it.
+But I imagine that he would, yes.\\
+\hbox{}\hfill Iain M. Banks (1993), \textsl{Against a dark background.}%
+\index{Iain}\index{Banks}\index{Against}\index{dark}%
+\index{background}
+\begin{figure}[tp]
+\caption{Second figure}
+\end{figure}
+\begin{table}
+\caption{Second table}
+\end{table}
+\section*{Second section, starred}
+\index{section!starred}
+%% UNCOMMENT ONE AND ONLY ONE OF THE 4 FOLLOWING LINES
+\mtcaddsection[Second section, starred] % OK
+%%\mtcaddsection[] % BAD
+%%\mtcaddsection[~] % produces a (strange) correct result.
+%%\mtcaddsection % BAD
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\index{tests}
+
+This is a starred section; you can test here variations on
+the \verb|\mtcaddsection| command. Just uncomment one (and
+only one) of the \verb|\mtcaddsection| commands after
+\verb|\section*| in the source code of \texttt{mtc-add.tex}.
+For each case, look at the \index{Table of Contents}Table of Contents
+and at this section.
+\index{a}\index{added}\index{after}\index{also}\index{and}%
+\index{at}\index{can}\index{case}\index{section}%
+\index{code}\index{command}\index{commands}%
+\index{Contents}\index{each}\index{entries}\index{For}%
+\index{here}\index{I}\index{in}\index{index}\index{is}%
+\index{Just}\index{just}\index{look}\index{lot}%
+\index{of}\index{on}\index{one}\index{only}\index{source}%
+\index{starred}\index{Table}\index{test}\index{the}%
+\index{This}\index{this}\index{to}\index{uncomment}%
+\index{variations}\index{you}%
+I also added a lot of index entries, just to test.
+
+\section{Third section}
+\index{section!normal}
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{Third subsection}
+
+\begin{figure}
+\caption{Third figure}
+\end{figure}
+\begin{table}
+\caption{Third table}
+\end{table}
+
+\subsection{Fourth subsection}
+
+\begin{figure}
+\caption{Fourth figure}
+\end{figure}
+\begin{table}
+\caption{Fourth table}
+\end{table}
+
+\subsubsection{Even a sub-sub-section!}
+\subsubsection{And yet another one}
+
+\part{Part~2}
+\parttoc \mtcskip \partlof \mtcskip \partlot
+
+\section{Fourth section}
+\index{section!normal}
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{Fifth subsection}
+
+\begin{figure}[tp]
+\caption{Fifth figure}
+\end{figure}
+\begin{table}[tp]
+\caption{Fifth table}
+\end{table}
+
+\subsection{Sixth subsection}
+A small nice citation from~\cite{dark}:\\
+\index{small}\index{citation}\index{nice}\index{A}%
+\index{a}\index{and}\index{bird}\index{But}%
+\index{cannot}\index{claim}\index{great}\index{he}%
+\index{I}\index{imagine}\index{it}\index{know}%
+\index{land}\index{on}\index{once}\index{that}%
+\index{to}\index{tree}\index{would}\index{yes}%
+A bird cannot land once on a great tree and claim to know it.
+But I imagine that he would, yes.\\
+\hbox{}\hfill
+Iain M. Banks (1993), \textsl{Against a dark background.}%
+\index{Iain}\index{Banks}\index{Against}%
+\index{dark}\index{background}
+
+\begin{figure}[tp]
+\caption{Sixth figure}
+\end{figure}
+\begin{table}
+\caption{Sixth table}
+\end{table}
+
+\section*{Fifth section, starred}
+\index{section!starred}
+%% UNCOMMENT ONE AND ONLY ONE OF THE 4 FOLLOWING LINES
+\mtcaddsection[Fifth section, starred] % OK
+%%\mtcaddsection[] % OK
+%%\mtcaddsection[~] % produces a (strange) correct result.
+%%\mtcaddsection % OK
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\index{tests}
+
+This is a starred section; you can test here variations on
+the \verb|\mtcaddsection| command. Just uncomment one (and
+only one) of the \verb|\mtcaddsection| commands after
+\verb|\section*| in the source code of \texttt{mtc-add.tex}.
+For each case, look at the \index{Table of Contents}Table of Contents
+and at this section.\index{a}%
+\index{added}\index{after}\index{also}\index{and}%
+\index{at}\index{can}\index{case}\index{section}%
+\index{code}\index{command}\index{commands}\index{Contents}%
+\index{each}\index{entries}\index{For}\index{here}%
+\index{I}\index{in}\index{index}\index{is}%
+\index{Just}\index{just}\index{look}\index{lot}%
+\index{of}\index{on}\index{one}\index{only}%
+\index{source}\index{starred}\index{Table}\index{test}%
+\index{the}\index{This}\index{this}\index{to}%
+\index{uncomment}\index{variations}\index{you}%
+I also added a lot of index entries, just to test.
+
+\section{Sixth section}
+\index{section!normal}
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{Seventh subsection}
+
+\begin{figure}
+\caption{Seventh figure}
+\end{figure}
+\begin{table}
+\caption{Seventh table}
+\end{table}
+
+\subsection{Eighth subsection}
+
+\begin{figure}
+\caption{Eighth figure}
+\end{figure}
+\begin{table}
+\caption{Eighth table}
+\end{table}
+\nocite*
+\def\noopsort#1{\relax}
+\bibliographystyle{plain}
+\bibliography{mtc-add}
+\adjuststc
+\printindex
+\mtcfixindex % use this OR the 2 following lines
+%%\addcontentsline{lof}{xsect}{}
+%%\addcontentsline{lot}{xsect}{}
+%%\mtcaddsection
+
+\appendix
+\section{App.~1}
+\index{section!appendix}
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{Ninth subsection}
+
+\begin{figure}
+\caption{Ninth figure}
+\end{figure}
+\begin{table}
+\caption{Ninth table}
+\end{table}
+
+\subsection{Tenth subsection}
+
+\begin{figure}
+\caption{Tenth figure}
+\end{figure}
+\begin{table}
+\caption{Tenth table}
+\end{table}
+
+\section{App.~2}
+\index{section!appendix}
+%% contains no tables but asks for a sectlot! No sectlot printed.
+\secttoc \mtcskip \sectlof \mtcskip \sectlot
+\subsection{Eleventh subsection}
+
+\begin{figure}
+\caption{Eleventh figure}
+\end{figure}
+\begin{figure}
+\caption{Twelfth figure}
+\end{figure}
+
+\subsection{Twelfth subsection}
+
+\begin{figure}
+\caption{Thirdteenth figure}
+\end{figure}
+\begin{figure}
+\caption{Fourteenth figure}
+\end{figure}
+
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-ads.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf
new file mode 100644
index 00000000000..c3ba8ed1451
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex
new file mode 100644
index 00000000000..13d577d1b4c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-amm.tex
@@ -0,0 +1,63 @@
+%%
+%% This is file `mtc-amm.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-amm')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside]{memoir}
+\ProvidesFile{mtc-amm.tex}%
+ [2007/01/04]
+\usepackage{lipsum} % filling text
+\usepackage%
+ [tight]{minitoc}
+\begin{document}
+\dominitoc
+\tableofcontents
+\adjustmtc
+\chapter{First chapter}
+\minitoc
+\lipsum[1]
+\section{First section}
+\lipsum[2]
+\begin{appendices}
+\addappheadtotoc
+\chapter{Afterthought}
+\minitoc
+\lipsum[3]
+Afterthought appendix
+\section{Further remarks}
+\lipsum[4]
+\end{appendices}
+\chapter{Conclusion}
+\minitoc
+\section{Bye}
+\lipsum[5]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-amm.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf
new file mode 100644
index 00000000000..c2697dcf2f6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex
new file mode 100644
index 00000000000..97774f6ef4b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-apx.tex
@@ -0,0 +1,81 @@
+%%
+%% This is file `mtc-apx.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-apx')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside]{book}
+\ProvidesFile{mtc-apx.tex}%
+ [2007/03/22]
+\usepackage{lipsum} % provides filling text
+\usepackage{tocbibind} % adds some entries in the main TOC.
+\usepackage[tight,listfiles]{minitoc}
+\setcounter{minitocdepth}{3} \setcounter{parttocdepth}{3}
+\begin{document}
+\doparttoc \dominitoc % prepare the mini-tables
+\tableofcontents
+\mtcaddchapter % because tocbibind adds a chapter entry in the TOC
+\chapter{First}
+\minitoc
+First chapter
+\section{First section}
+\lipsum[1]
+\section{Second section}
+\lipsum[2]
+\chapter{Second}
+\minitoc
+Second
+\section{First section of second chapter}
+\lipsum[3]
+\section{Second section of second chapter}
+\lipsum[4]
+\appendix % begins the appendices
+\addcontentsline{toc}{part}{Appendices} % adds a part entry in the TOC
+\adjustptc % fixes the parttoc counter ptc
+\mtcsettitle{parttoc}{List of Appendices} % changes the parttoc title
+\parttoc % adds a partial toc for the appendices
+\begin{mtchideinmaintoc}[-1] % hides the details of the appendices in the main TOC,
+\chapter{First appendix}
+\minitoc
+First appendix
+\section{First section}
+\lipsum[5]
+\section{Second section}
+\lipsum[6]
+\chapter{Second appendix}
+\minitoc
+Second appendix
+\section{First section of second appendix}
+\lipsum[7]
+\section{Second section of second appendix}
+\lipsum[8]
+\end{mtchideinmaintoc} % end of hiding
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-apx.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf
new file mode 100644
index 00000000000..4808547283b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex
new file mode 100644
index 00000000000..89af8c9f779
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-art.tex
@@ -0,0 +1,282 @@
+%%
+%% This is file `mtc-art.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-art')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+%% mtc-art.tex
+%% This file contains a set of tests for the minitoc.sty version #53
+%% package. You can alter most of parameters to test.
+%% article (\section must be defined)
+\documentclass[12pt,a4paper]{article}
+\ProvidesFile{mtc-art.tex}%
+ [2007/01/04]
+\usepackage{lipsum} % provides filling text
+%%\usepackage{hyperref} % If used, load it BEFORE minitoc
+\usepackage[tight,insection]{minitoc}
+\setcounter{secnumdepth}{5} % depth of numbering of sectionning commands
+\setcounter{tocdepth}{3} % depth of table of contents
+\setlength{\stcindent}{24pt} % indentation of secttocs, default
+%% % font for secttocs, default
+\renewcommand{\stcfont}{\small\rmfamily\upshape\mdseries}%
+%% % font for secttocs, subsections
+%%\renewcommand{\stcSSfont}{\small\sf}%
+%% you can make experiments with \stcSSSfont, \stcPfont and \stcSPfont
+%% but it is ``fontomania''...
+\raggedbottom % or \flushbottom, at your choice
+%%% TEST: uncomment the next line to test
+%%% resetting section number in each part
+%%\makeatletter \@addtoreset{section}{part} \makeatother
+%%% END TEST
+\begin{document}
+\dosecttoc
+\dosectlof[c] % center titles of the sectlofs
+\dosectlot
+\doparttoc % test of parttoc/partlof stuff
+\dopartlof % added in version #15
+\dopartlot % added in version #15
+\faketableofcontents % or \tableofcontents
+\fakelistoffigures % to check compatibility
+\fakelistoftables % to check compatibility
+\part{First Part}
+\parttoc
+\partlof[r]
+\partlot
+\twocolumn\sloppy % the secttoc in twocolumn layout is ugly,
+ % but works. Ideas to make it better?
+\section{AAAAA} % a section with a lot of sections
+\secttoc[r] % secttoc title on the right
+\mtcskip \sectlof %ADDED
+\lipsum[1]
+\subsection{S1}
+\lipsum[2]
+\subsection{S2}
+\lipsum[3]
+\subsection{S3}
+\lipsum[4]
+\subsection*{S4}
+%%\addcontentsline{toc}{starsubsection}{*S4*}
+\lipsum[5]
+\subsection{S5}
+\lipsum[6]
+\subsection{S6}
+\lipsum[7]
+\subsection{S7}
+\lipsum[8]
+\subsection{S8}
+\lipsum[9]
+\subsection{S9}
+\lipsum[10]
+\subsection{S10}
+\lipsum[11]
+\subsection{S11}
+\lipsum[12]
+\subsection{S12}
+\lipsum[13]
+\subsection{S13}
+\lipsum[14]
+\subsection{S14}
+\lipsum[15]
+\subsection{S15}
+\lipsum[16]
+\subsection{S16}
+\lipsum[17]
+\subsection{S17}
+\lipsum[18]
+\subsection{S18}
+\lipsum[19]
+\subsection{S19}
+\lipsum[20]
+\subsection{S20}
+\lipsum[21]
+\subsection{S21}
+\lipsum[22]
+\subsection{S22}
+\lipsum[23]
+\subsection{S23}
+\lipsum[24]
+\subsection{S24}
+\lipsum[25]
+\subsection{S25}
+\lipsum[26]
+\subsection{S26}
+\lipsum[27]
+\subsection{S27}
+\lipsum[28]
+\subsection{S28}
+\lipsum[29]
+\subsection{S29}
+\lipsum[30]
+\subsection{S30}
+\lipsum[31]
+\onecolumn\fussy % back to one column
+\section{BBBBB}
+\secttoc
+\mtcskip % put some skip here
+\sectlof % a sectlof
+\lipsum[32]
+\subsection{T1}
+\lipsum[33]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F1} % (I have not tested tables, but it is similar)
+\end{figure}
+\FloatBarrier
+\subsubsection[tt1]{TT1} % tests optional arg. of a sectionning command
+\lipsum[34]
+\paragraph{TTT1}
+\lipsum[35]
+\subparagraph{TTTT1}
+\lipsum[36]
+\begin{figure}[t]
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption[f2]{F2} % tests optional arg. of a caption
+\end{figure}
+\FloatBarrier
+\subsection{T2}
+\lipsum[37]
+\section*{CCCCC} % tests a pseudo-section. should have no secttoc
+%%\addstarredsection{CCCCC}
+\mtcaddsection[CCCCC]
+\secttoc \mtcskip \sectlof %ADDED
+\lipsum[38]
+\subsection{U1}
+\lipsum[39]
+\subsubsection{UU1}
+\lipsum[40]
+\paragraph{UUU1}
+\lipsum[41]
+\subparagraph{UUUU1}
+\lipsum[42]
+\subsection{U2}
+\lipsum[43]
+\part{Second Part}
+\parttoc
+\partlof[c]
+\partlot
+%% % the following section should have no secttoc,
+\section{DDDDD} % but if you uncomment \secttoc,
+%%\secttoc
+\mtcskip \sectlof %ADDED
+\lipsum[44]
+\subsection{V1}
+\lipsum[45]
+\subsubsection{VV1}
+\lipsum[46]
+\paragraph{VVV1}
+\lipsum[47]
+\subparagraph{VVVV1}
+\lipsum[48]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F3} % (I have not tested tables, but it is similar)
+\end{figure}
+\FloatBarrier
+\lipsum[49]
+\subsection{V2}
+\lipsum[50]
+\section{EEEEE} % this section should have a secttoc
+{% % left brace, see below
+\setcounter{secttocdepth}{3} % depth of sect table of contents;
+ % try with different values.
+\secttoc
+\mtcskip \sectlof %ADDED
+} % right brace
+%% this pair of braces is used to keep local the change
+%% on secttocdepth.
+\lipsum[51]
+\subsection{W1} % with the given depth
+\lipsum[52]
+\subsubsection{WW1}
+\lipsum[53]
+\paragraph{WWW1}
+\lipsum[54]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F4} % (I have not tested tables, but it is similar)
+\end{figure}
+\FloatBarrier
+bla bla bla bla bla bla bla bla bla bla bla
+\subparagraph{WWWW1}
+\lipsum[55]
+\subsection{W2}
+\lipsum[56]
+\chapter*{}
+\part{Appendices}
+\parttoc
+\mtcskip
+\partlof
+\mtcskip
+\partlot
+\FloatBarrier
+\appendix
+\section{Comments}
+\lipsum[57]
+\secttoc
+\mtcskip \sectlof %ADDED
+\subsection{C1}
+\lipsum[58]
+\subsection{C2}
+\lipsum[59]
+\subsection{C3}
+\lipsum[60]
+\begin{figure}[hb] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F5} % (I have not tested tables, but it is similar)
+\end{figure}
+\FloatBarrier
+\subsection{C4}
+\lipsum[61]
+\FloatBarrier
+\section{Evolution}
+\secttoc
+\sectlof % empty
+\sectlot % empty
+\lipsum[62]
+\subsection{D1}
+\lipsum[63]
+\subsection{D2}
+\lipsum[64]
+\subsection{D3}
+\lipsum[65]
+\subsection{D4}
+\lipsum[66]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-art.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf
new file mode 100644
index 00000000000..0c845fb26fb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex
new file mode 100644
index 00000000000..15bdac439d1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bk.tex
@@ -0,0 +1,297 @@
+%%
+%% This is file `mtc-bk.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-bk')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+%%%%%%%%%%%%%%%%%%%%% A example file (differs from previous versions)
+%% mtc-bk.tex
+%% This file contains a set of tests for the minitoc.sty version #53
+%% package file. You can alter most of parameters to test.
+%% book/report (\chapter must be defined).
+%% You can use a copy of this file to play with minitoc
+%% commands and parameters.
+\documentclass[12pt,a4paper]{report} % the report class uses less pages
+%%\documentclass[12pt,a4paper]{book}
+\ProvidesFile{mtc-bk.tex}%
+ [2007/01/04]
+\usepackage{lipsum} % provides filling text
+%%\usepackage{hyperref} % if used, load it BEFORE minitoc
+%%\usepackage{mtcoff}
+\usepackage[tight]{minitoc} % tight option make shorter mini-tables
+\setcounter{secnumdepth}{5} % depth of numbering of sectionning commands
+\setcounter{tocdepth}{3} % depth of table of contents
+\setlength{\mtcindent}{24pt} % indentation of minitocs, default
+\renewcommand{\mtcfont}{\small\rm} % font for minitocs, default
+\renewcommand{\mtcSfont}{\small\bf} % font for minitocs, sections, default
+%%\renewcommand{\mtcSSfont}{\small\sf} % font for minitocs, subsections
+%% you can make experiments with \mtcSSSfont, \mtcPfont and \mtcSPfont
+%% but it is ``fontomania''...
+\raggedbottom % or \flushbottom, at your choice
+%%% TEST: uncomment the 3 next lines to test
+%%% resetting chapter number in each part
+%%\makeatletter
+%%\@addtoreset{chapter}{part}
+%%\makeatother
+%%% END TEST
+\begin{document}
+\mtcpagenumbers
+\noptcrule
+%% \nomtcrule % suppresses minitoc rules
+%% \nomtcpagenumbers % suppresses minitoc page numbers
+%% \nomlfpagenumbers % ---------- minilof ---- -------
+%% \nomltpagenumbers % ---------- minilot ---- -------
+\dominitoc
+\dominilof[c] % centers title of minilof's
+\dominilot
+\doparttoc % test of parttoc/partlof stuff
+\dopartlof % added in version #15
+\dopartlot % added in version #15
+\tableofcontents % or \faketableofcontents
+\listoffigures % or \fakelistoffigures
+\fakelistoftables % or \listoftables
+%%\addtocounter{chapter}{-1} % to begin with Chapter 0
+\part{First Part}
+\parttoc
+\partlof[r]
+\partlot[r]
+\twocolumn\sloppy % the minitoc in twocolumn layout is ugly,
+\chapter{AAAAA} % a chapter with a lot of sections
+\minitoc[r] % minitoc title on the right
+\lipsum[1]
+\section{S1}
+\lipsum[2]
+\section{S2}
+\lipsum[3]
+\section{S3}
+\lipsum[4]
+\section*{S4}
+\addcontentsline{toc}{section}{\protect\numberline{}{S4}}
+\lipsum[5]
+\section{S5}
+\lipsum[6]
+\section{S6}
+\lipsum[6]
+\section{S7}
+\lipsum[7]
+\section{S8}
+\lipsum[9]
+\section{S9}
+\lipsum[10]
+\section{S10}
+\lipsum[11]
+\section{S11}
+\lipsum[12]
+\section{S12}
+\lipsum[13]
+\section{S13}
+\lipsum[14]
+\section{S14}
+\lipsum[15]
+\section{S15}
+\lipsum[16]
+\section{S16}
+\lipsum[17]
+\section{S17}
+\lipsum[18]
+\section{S18}
+\lipsum[19]
+\section{S19}
+\lipsum[20]
+\section{S20}
+\lipsum[21]
+\section{S21}
+\lipsum[22]
+\section{S22}
+\lipsum[23]
+\section{S23}
+\lipsum[24]
+\section{S24}
+\lipsum[25]
+\section{S25}
+\lipsum[26]
+\section{S26}
+\lipsum[27]
+\section{S27}
+\lipsum[28]
+\section{S28}
+\lipsum[29]
+\section{S29}
+\lipsum[30]
+\section{S30}
+\lipsum[31]
+\subsection{SS1}
+\lipsum[32]
+\section{S31}
+\lipsum[33]
+\onecolumn\fussy % back to one column
+\chapter{BBBBB}
+\minitoc
+\mtcskip % put some skip here
+\minilof % a minilof
+\mtcskip % put some skip here
+\minilot % a minilot
+\lipsum[34]
+\section{T1}
+\lipsum[35]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F1} % (tables are similar)
+\end{figure}
+\begin{table}[b] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{T1} % (tables are similar)
+\end{table}
+\clearpage
+\subsection[tt1]{TT1} % tests optional arg. of a sectionning command
+\lipsum[36]
+\subsubsection{TTT1}
+\lipsum[37]
+\paragraph{TTTT1}
+\lipsum[38]
+\begin{figure}
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption[f2]{F2} % tests optional arg. of a caption
+\end{figure}
+\section{T2}
+\lipsum[39]
+\chapter*{CCCCC} % tests a pseudo-chapter; could have a minitoc.
+\addstarredchapter{CCCCC}
+\lipsum[40]
+\section*{U1}
+\addcontentsline{toc}{section}{U1}
+\lipsum[41]
+\subsection*{UU1}
+\addcontentsline{toc}{subsection}{UU1}
+\lipsum[42]
+\subsubsection*{UUU1}
+\addcontentsline{toc}{subsubsection}{UUU1}
+\lipsum[43]
+\paragraph*{UUUU1}
+\addcontentsline{toc}{paragraph}{UUUU1}
+\lipsum[44]
+\section*{U2}
+\addcontentsline{toc}{section}{U2}
+\lipsum[45]
+\part{Second Part}
+\parttoc
+\partlof[c]
+%% % the following chapter should have no minitoc,
+\chapter{DDDDD} % but if you uncomment \minitoc,
+%%\minitoc % the minitoc appears
+\lipsum[46]
+\section{V1}
+\lipsum[47]
+\subsection{VV1}
+\lipsum[48]
+\subsubsection{VVV1}
+\lipsum[49]
+\paragraph{VVVV1}
+\lipsum[50]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F3} % (I have not tested tables, but it is similar)
+\end{figure}
+\lipsum[51]
+\section{V2}
+\lipsum[52]
+\chapter{EEEEE} % this chapter should have a minitoc
+{% % left brace, see below
+\setcounter{minitocdepth}{3} % depth of mini table of contents;
+ % try with different values.
+\minitoc
+} % right brace
+%% this pair of braces is used to keep local the change
+%% on minitocdepth.
+\lipsum[53]
+\section{W1} % with the given depth
+\lipsum[54]
+\subsection{WW1}
+\lipsum[55]
+\subsubsection{WWW1}
+\lipsum[56]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F4} % (I have not tested tables here, but it is similar)
+\end{figure}
+\lipsum[57]
+\paragraph{WWWW1}
+\lipsum[58]
+\subparagraph{WWWWW1}
+\lipsum[59]
+\section{W2}
+\lipsum[60]
+\appendix
+\part{Appendices}
+\parttoc
+\begin{mtchideinmaintoc}[-1]
+\chapter{Comments}
+\minitoc
+\section{C1}
+\lipsum[61]
+\section{C2}
+\lipsum[62]
+\section{C3}
+\lipsum[63]
+\begin{figure}[t] % tests compatibility with floating bodies
+\setlength{\unitlength}{1mm}
+\begin{picture}(100,50)
+\end{picture}
+\caption{F5} % (I have not tested tables, but it is similar)
+\end{figure}
+\section{C4}
+\chapter{Evolution}
+\minitoc
+\minilof %Empty => invisible
+\minilot %Empty => invisible
+\section{D1}
+\lipsum[64]
+\section{D2}
+\lipsum[65]
+\section{D3}
+\lipsum[66]
+\section{D4}
+%% this line closes the omitted part
+\addtocontents{toc}{\protect\partbegin}
+%% this line restore the depth in the main TOC
+\end{mtchideinmaintoc}
+\lipsum[67]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-bk.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf
new file mode 100644
index 00000000000..955c9e93b2d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex
new file mode 100644
index 00000000000..3ddbe4a56bd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-bo.tex
@@ -0,0 +1,203 @@
+%%
+%% This is file `mtc-bo.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-bo')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[10pt]{book}
+\ProvidesFile{mtc-bo.tex}%
+ [2007/01/04]
+\usepackage[paperwidth=8.5in,paperheight=11in,%
+ lmargin=1.25in,rmargin=1.25in,tmargin=1in,bmargin=1in]{geometry}
+\usepackage[francais]{babel}
+\usepackage{franc,frnew}
+\usepackage[T1]{fontenc}
+\usepackage[isolatin]{inputenc}
+\usepackage{mypatches}
+\usepackage{multicol}
+\usepackage{color}
+\usepackage{tocloft}
+\setlength{\cftsecindent}{0cm}
+\setlength{\cftsecnumwidth}{15 pt}
+\setlength{\cftsubsecindent}{\cftsecindent}
+\addtolength{\cftsubsecindent}{\cftsecnumwidth}
+\setlength{\cftsubsecnumwidth}{20 pt}
+\setlength{\cftsubsubsecindent}{\cftsubsecindent}
+\addtolength{\cftsubsubsecindent}{\cftsubsecnumwidth}
+\cftpagenumbersoff{sec}
+\cftpagenumbersoff{subsec}
+\usepackage[francais,tight]{minitoc}
+\usepackage{hyperref}
+\setlength{\mtcindent}{0pt}
+\nomtcrule % pas de filets en haut et en bas de la mini-tdm
+\nomtcpagenumbers % pas de numéro de pages
+\renewcommand{\mtctitle}{Contenu de la rencontre}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeatletter
+\def\@makechapterhead#1{%
+ \vspace*{10\p@}%
+ {\parindent \z@ \raggedleft \normalfont
+ \interlinepenalty\@M
+ \ifnum \c@secnumdepth >\m@ne
+ \Huge\bfseries\sffamily Rencontre \thechapter\\% \quad
+ \fi
+ \Huge\bfseries\sffamily #1\par\nobreak
+ \vskip 10\p@
+}}
+\def\@makeschapterhead#1{%
+ \vspace*{10\p@}%
+ {\parindent \z@ \raggedright \normalfont
+ \interlinepenalty\@M
+ \Huge \sffamily #1\par\nobreak
+ \vskip 10\p@
+}} \makeatother
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newenvironment{pageUn}[6]{%
+\parindent = 0.0in
+\rule{\linewidth}{1pt}
+\begin{multicols}{2}
+ {\large \bfseries Math. pour médecine nucléaire\\
+ \textit{(#2)}}
+ \vfill\columnbreak
+ \raggedleft\bfseries Automne 2003\\
+ #1
+\end{multicols}
+\vspace{-18pt}
+\rule{\linewidth}{1pt}
+
+\setlength{\columnseprule}{.3pt}
+\setlength{\columnsep}{1cm}
+\begin{multicols}{2}%
+
+\colorbox[cmyk]{.1,0,0,0}{%
+ \parbox{\linewidth}{%
+ \setcounter{minitocdepth}{3}%
+ \minitoc%
+ }}
+
+\mtcskip
+
+
+{\large \bfseries Documents distribués}
+\begin{itemize} \renewcommand{\labelitemi}{$\star$} #3 \end{itemize}
+
+
+\vspace{12pt}{\large \bfseries Messages}
+\begin{itemize} \renewcommand{\labelitemi}{$\star$}#4\end{itemize}
+
+\vspace{12pt}{\large \bfseries Lecture}\vspace{-6pt} \par#5 \par
+
+\vspace{12pt}{\large \bfseries Exercices}\vspace{-6pt}\par#6\par
+
+\end{multicols}%
+}
+{\hrule}
+
+
+\parskip = 0.1in
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand{\thesection}{\Alph{section}}
+
+%%%%%%%%%%
+%%%%%%%%%%
+\begin{document}
+\dominitoc
+\faketableofcontents
+\chapter{Première étape (début)}
+\begin{pageUn}
+ {%1 Date du cours
+ lundi 25 août
+ }
+ {%2 Durée du cours
+ 2 périodes
+ }
+ {%3 Liste des documents à~distribuer
+ \item Plan de cours
+ \item Fiche d'identification
+ \item Grille horaire
+ \item Feuilles d'exercices supplémentaires
+ }
+ {%4 Ne pas oublier
+ \item Acheter le livre de référence
+ \item Apporter une disquette
+ }
+ {%5 Lecture
+ Lire les pages ppp à~ppp et ppp à~ppp
+ }
+ {%6 Exercice
+ Faire les exercices nnn de la page ppp
+ }
+\end{pageUn}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Titre de la section} %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Texte dans la section
+
+%%
+\subsection{Une sous-section}
+%%
+Bla bla bla
+
+%%
+\subsection{Une autre sous-section}
+%%
+Bla bla bla
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Titre d'une autre section} %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Texte dans la section
+
+%%
+\subsection{Une sous-section}
+%%
+Bla bla bla
+
+%%
+\subsection{Une autre sous-section}
+%%
+Bla bla bla
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\section{Encore une autre section} %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+Texte dans la section
+
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-bo.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf
new file mode 100644
index 00000000000..45203cb33da
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex
new file mode 100644
index 00000000000..5844ca8dcf6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-ch0.tex
@@ -0,0 +1,84 @@
+%%
+%% This is file `mtc-ch0.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-ch0')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt,a4paper]{report}
+\ProvidesFile{mtc-ch0.tex}%
+ [2007/01/04]
+\usepackage[tight,english]{minitoc}
+\begin{document}
+\dominitoc
+\tableofcontents
+\chapter*{Chapter One (starred)}
+\mtcaddchapter[Fake chapter one]
+\minitoc
+\section{Chap 1, section 1}
+That's right, folks -- we're close to the release of Firefox and
+Thunderbird~1.0 and, just like our last 1.0~release, we want to organize
+worldwide parties to celebrate.
+
+Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved
+Mozilla Party Webtool~2.0. You can create your own party, or sign up for
+one already in progress -- and, in an improvement on Webtool~1.0,
+organizers can now edit and update party details. The tool allows you to
+organize a celebration in any of 243~countries, principalities,
+dominions and islands around the world. Never let it be said that we do
+things by halves around here.
+
+\subsection{Chap 1, section 1, subsection 1}
+That's right, folks -- we're close to the release of Firefox and
+Thunderbird~1.0 and, just like our last 1.0~release, we want to organize
+worldwide parties to celebrate.
+
+Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved
+Mozilla Party Webtool~2.0. You can create your own party, or sign up for
+one already in progress -- and, in an improvement on Webtool~1.0,
+organizers can now edit and update party details. The tool allows you to
+organize a celebration in any of 243~countries, principalities,
+dominions and islands around the world. Never let it be said that we do
+things by halves around here.
+\chapter{Chapter Two (numbered one)}
+\minitoc
+\section{Chapter 2, section 1}
+That's right, folks -- we're close to the release of Firefox and
+Thunderbird 1.0 and, just like our last 1.0~release, we want to organize
+worldwide parties to celebrate.
+
+Thanks to Dominik 'Aeneas' Schnitzer, we have an all-new and improved
+Mozilla Party Webtool~2.0. You can create your own party, or sign up for
+one already in progress -- and, in an improvement on Webtool~1.0,
+organizers can now edit and update party details. The tool allows you to
+organize a celebration in any of 243~countries, principalities,
+dominions and islands around the world. Never let it be said that we do
+things by halves around here.
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-ch0.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf
new file mode 100644
index 00000000000..f1d0a85861b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex
new file mode 100644
index 00000000000..dffc9c9e9fb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-cri.tex
@@ -0,0 +1,91 @@
+%%
+%% This is file `mtc-cri.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-cri')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt,a4paper]%
+ {report}
+\ProvidesFile{mtc-cri.tex}%
+ [2007/01/04]
+\usepackage[francais]{babel}
+\usepackage[T1]{fontenc}
+\usepackage[latin1]{inputenc}
+\usepackage%
+ [french2,tight]%
+ {minitoc}
+
+\mtcsetdepth{parttoc}{2}
+
+\begin{document}
+\doparttoc
+\dominitoc
+\tableofcontents
+\part*{Présentation générale}
+\mtcaddpart[Présentation générale]
+\adjustptc[-2]
+\parttoc
+
+Texte de la
+présentation générale\ldots
+
+\chapter*{Les auteurs}
+\mtcaddchapter[Les auteurs]
+Présentation des auteurs\ldots
+
+\chapter*{Les lecteurs}
+\mtcaddchapter[Les lecteurs]
+Présentation des lecteurs\ldots
+
+\part{Première partie}
+\parttoc
+\chapter*{Introduction}
+\mtcaddchapter[Introduction]
+\chapter{Premier chapitre}
+\minitoc
+\section{Première section~A}
+\section{Deuxième section~A}
+\chapter{Deuxième chapitre}
+\minitoc
+\section{Première section~B}
+\section{Deuxième section~B}
+
+\part{Deuxième partie}
+\parttoc
+\chapter{Premier chapitre}
+\minitoc
+\section{Première section~C}
+\section{Deuxième section~C}
+\chapter{Deuxième chapitre}
+\minitoc
+\section{Première section~D}
+\section{Deuxième section~D}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-cri.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf
new file mode 100644
index 00000000000..48085427199
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex
new file mode 100644
index 00000000000..8610dc44218
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fko.tex
@@ -0,0 +1,52 @@
+%%
+%% This is file `mtc-fko.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-fko')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[german,a4paper,oneside]{scrbook}
+\ProvidesFile{mtc-fko.tex}%
+ [2007/02/19]
+\usepackage{babel}
+\usepackage[tight]{minitoc}
+\setlength{\mtcindent}{0pt} % optional
+\mtcsetfont{minitoc}{section}{\sectfont\small}
+\mtcsettitlefont{minitoc}{\sectfont\large}
+\mtcsettitle{minitoc}{Inhalt}
+\begin{document}
+\dominitoc
+\tableofcontents
+\chapter{Ein serifenloses Kapitel}
+\minitoc % Aufruf Minitoc
+\section{Dieser Text ist in minitoc serifenlos}
+Auch der Text \glqq Inhaltsangabe\grqq\ will
+so wie koma es definiert.
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-fko.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf
new file mode 100644
index 00000000000..6e76783151c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex
new file mode 100644
index 00000000000..b0e6ac22096
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo1.tex
@@ -0,0 +1,72 @@
+%%
+%% This is file `mtc-fo1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-fo1')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{report}
+\ProvidesFile{mtc-fo1.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+\usepackage{txfonts}
+\usepackage[tight]{minitoc}
+\begin{document}
+\doparttoc
+\dominitoc
+\tableofcontents
+\part{Introduction}
+\clearpage
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{chapter}{\normalsize\rmfamily\upshape\bfseries}
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{chapter}{\normalsize\ttfamily\upshape\bfseries}
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{*}{\normalsize\ttfamily\upshape\mdseries}
+\parttoc
+\chapter{A very short chapter}
+\minitoc
+\lipsum[1]
+\section{First section}
+\lipsum[2]
+\subsection{Alpha}
+\lipsum[3]
+\subsection{Beta}
+\lipsum[4]
+\section{Second section}
+\lipsum[5]
+\subsection{Gamma}
+\lipsum[6]
+\subsection{Delta}
+\lipsum[7]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-fo1.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf
new file mode 100644
index 00000000000..42f65dbe4b1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex
new file mode 100644
index 00000000000..46f9a4cbf68
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-fo2.tex
@@ -0,0 +1,80 @@
+%%
+%% This is file `mtc-fo2.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-fo2')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{report}
+\ProvidesFile{mtc-f02.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+\usepackage{txfonts}
+\usepackage[tight]{minitoc}
+ \def\ptcSSfont{\ptcfont} % (subsections)
+ \def\ptcSSSfont{\ptcfont} % (subsubsections)
+ \def\ptcPfont{\ptcfont} % (paragraphs)
+ \def\ptcSPfont{\ptcfont} % (subparagraphs)
+ \def\plffont{\ptcfont} % (figures)
+ \def\plfSfont{\ptcfont} % (subfigures)
+ \def\pltfont{\ptcfont} % (tables)
+ \def\pltSfont{\ptcfont} % (subtables)
+\begin{document}
+\doparttoc
+\dominitoc
+\tableofcontents
+\part{Introduction}
+\clearpage
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{chapter}{\normalsize\rmfamily\upshape\bfseries}
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{chapter}{\normalsize\ttfamily\upshape\bfseries}
+\parttoc
+\clearpage
+\mtcsetfont{parttoc}{*}{\normalsize\ttfamily\upshape\mdseries}
+\parttoc
+\chapter{A very short chapter}
+\minitoc
+\lipsum[1]
+\section{First section}
+\lipsum[2]
+\subsection{Alpha}
+\lipsum[3]
+\subsection{Beta}
+\lipsum[4]
+\section{Second section}
+\lipsum[5]
+\subsection{Gamma}
+\lipsum[6]
+\subsection{Delta}
+\lipsum[7]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-fo2.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf
new file mode 100644
index 00000000000..a946c40336d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex
new file mode 100644
index 00000000000..b3de36acb33
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-gap.tex
@@ -0,0 +1,58 @@
+%%
+%% This is file `mtc-gap.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-gap')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[a4paper,oneside,12pt]{book}
+\ProvidesFile{mtc-gap.tex}%
+ [2007/01/04]
+\usepackage{vruler} % to have a vertical graduation to note positions
+\usepackage{txfonts}
+\usepackage[english2,tight,listfiles]{minitoc}
+\begin{document}
+\setvruler[1cm][0][10][3][0][0pt][0pt][0pt][] % with vruler package
+\doparttoc
+\faketableofcontents
+\part{First part}
+\parttoc
+\chapter{First chapter of first part} \chapter{Second chapter of first part}
+\part{Second part}
+\renewcommand{\mtcgapbeforeheads}{100pt}
+\renewcommand{\mtcgapafterheads}{80pt}
+\parttoc
+\chapter{First chapter of second part} \chapter{Second chapter of second part}
+\part{Third part}
+\renewcommand{\mtcgapbeforeheads}{20pt}
+\renewcommand{\mtcgapafterheads}{10pt}
+\parttoc
+\chapter{First chapter of third part} \chapter{Second chapter of third part}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-gap.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf
new file mode 100644
index 00000000000..58e93bcc9cb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex
new file mode 100644
index 00000000000..e4bc9d9bbb3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi1.tex
@@ -0,0 +1,95 @@
+%%
+%% This is file `mtc-hi1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-hi1')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{report}
+\ProvidesFile{mtc-hi1.tex}%
+ [2007/01/04]
+\usepackage%
+ [tight,listfiles]{minitoc}
+\begin{document}
+\dominilof
+\dominilot
+\listoffigures
+\listoftables
+\chapter{First}
+\minilof
+\minilot
+\begin{figure}
+\caption{AAAA1}
+\end{figure}
+\begin{figure}
+\caption{AAAA2}
+\end{figure}
+\begin{table}
+\caption{TAAAA1}
+\end{table}
+\begin{table}
+\caption{TAAAA2}
+\end{table}
+\chapter{Second}
+\minilof
+\minilot
+%%----------------------
+\begin{mtchideinmainlof}
+\begin{mtchideinmainlot}
+\begin{figure}
+\caption{BBBB1}
+\end{figure}
+\begin{figure}
+\caption{BBBB2}
+\end{figure}
+\begin{table}
+\caption{TBBBB1}
+\end{table}
+\begin{table}
+\caption{TBBBB2}
+\end{table}
+\chapter{Third}
+\end{mtchideinmainlot}
+\end{mtchideinmainlof}
+%%----------------------
+\minilof \minilot
+\begin{figure}
+\caption{CCCC1}
+\end{figure}
+\begin{figure}
+\caption{CCCC2}
+\end{figure}
+\begin{table}
+\caption{TCCCC1}
+\end{table}
+\begin{table}
+\caption{TCCCC2}
+\end{table}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-hi1.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf
new file mode 100644
index 00000000000..993ba0bfbff
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex
new file mode 100644
index 00000000000..4b176e9e0f0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hi2.tex
@@ -0,0 +1,93 @@
+%%
+%% This is file `mtc-hi2.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-hi2')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{report}
+\ProvidesFile{mtc-hi2.tex}%
+ [2007/01/04]
+\usepackage%
+ [tight,listfiles]{minitoc}
+\begin{document}
+\dominilof
+\dominilot
+\listoffigures
+\listoftables
+\chapter{First}
+\minilof \minilot
+\begin{figure}
+\caption{AAAA1}
+\end{figure}
+\begin{figure}
+\caption{AAAA2}
+\end{figure}
+\begin{table}
+\caption{TAAAA1}
+\end{table}
+\begin{table}
+\caption{TAAAA2}
+\end{table}
+\chapter{Second}
+\minilof
+\minilot
+\begin{figure}
+\mtchideinmainlof % <--
+\caption{BBBB1}
+\end{figure}
+\begin{figure}
+\caption{BBBB2}
+\endmtchideinmainlof % <--
+\end{figure}
+\begin{table}
+\mtchideinmainlot % <--
+\caption{TBBBB1}
+\end{table}
+\begin{table}
+\caption{TBBBB2}
+\endmtchideinmainlot % <--
+\end{table}
+\chapter{Third}
+\minilof
+\minilot
+\begin{figure}
+\caption{CCCC1}
+\end{figure}
+\begin{figure}
+\caption{CCCC2}
+\end{figure}
+\begin{table}
+\caption{TCCCC1}
+\end{table}
+\begin{table}
+\caption{TCCCC2}
+\end{table}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-hi2.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf
new file mode 100644
index 00000000000..a8ba9c5fef2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex
new file mode 100644
index 00000000000..c8e5c39975b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hia.tex
@@ -0,0 +1,82 @@
+%%
+%% This is file `mtc-hia.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-hia')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass%
+ [oneside,a4paper]{article}
+\ProvidesFile{mtc-hia.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+\usepackage%
+ [tight,insection]%
+ {minitoc}
+\dosectlot
+\begin{document}
+\listoftables
+\section{First section}
+\sectlot
+\lipsum[1]
+\begin{table}[hb]
+\caption{My first visible table}
+\end{table}
+\lipsum[2]
+\begin{table}[ht]
+\caption{A second visible table}
+\end{table}
+\lipsum[3]
+\begin{table}[hb]
+\mtchideinmainlot
+\caption{My first hidden table}
+\end{table}
+\lipsum[4-6]
+\begin{table}[ht]
+\caption{A second hidden table}
+\end{table}
+\lipsum[7]
+\section{Second section}
+\sectlot
+\lipsum[8]
+\begin{table}[hb]
+\caption{My last hidden table}
+\endmtchideinmainlot
+\end{table}
+\lipsum[9]
+\begin{table}[ht]
+\caption{A third visible table}
+\end{table}
+\lipsum[10]
+\begin{table}[hb]
+\caption{A fourth visible table}
+\end{table}
+\lipsum[11]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-hia.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf
new file mode 100644
index 00000000000..86bf7523b90
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex
new file mode 100644
index 00000000000..dd89ac460ad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hir.tex
@@ -0,0 +1,80 @@
+%%
+%% This is file `mtc-hir.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-hir')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[a4paper]{report}
+\ProvidesFile{mtc-hir.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+\usepackage%
+ [tight]{minitoc}
+\dominilot
+\begin{document}
+\listoftables
+\chapter{First chapter}
+\minilot
+\lipsum[1]
+\begin{table}[hb]
+\caption{My first visible table}
+\end{table}
+\lipsum[2]
+\begin{table}[ht]
+\caption{A second visible table}
+\end{table}
+\lipsum[3]
+\begin{table}[hb]
+\mtchideinmainlot % <--
+\caption{My first hidden table}
+\end{table}
+\lipsum[4-6]
+\begin{table}[ht]
+\caption{A second hidden table}
+\end{table}
+\lipsum[7]
+\chapter{Second chapter}
+\minilot
+\lipsum[8]
+\begin{table}[hb]
+\caption{My last hidden table}
+\endmtchideinmainlot % <--
+\end{table}
+\lipsum[9]
+\begin{table}[ht]
+\caption{A third visible table}
+\end{table}
+\lipsum[10]
+\begin{table}[hb]
+\caption{A fourth visible table}
+\end{table}
+\lipsum[11]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-hir.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf
new file mode 100644
index 00000000000..a36c0f2ccf0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex
new file mode 100644
index 00000000000..d5afda3141d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-hop.tex
@@ -0,0 +1,84 @@
+%%
+%% This is file `mtc-hop.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-hop')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside,12pt]{scrbook}
+\ProvidesFile{mtc-hop.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+\usepackage[hints]{minitoc}
+\begin{document}
+\dominitoc
+\dominilof
+\tableofcontents
+\fakelistoffigures
+\part*{Part 1: Strategic Marketing}
+\mtcaddpart[Part 1: Strategic Marketing]
+\chapter{Chapter 1}
+\minitoc
+\minilof
+\section{Section one of first chapter}
+\lipsum[1]
+\begin{figure}
+ \centering
+ Test
+ \caption{Picture one of first chapter}
+\end{figure}
+
+\section{Section two of first chapter}
+\lipsum[2]
+\begin{figure}
+ \centering
+ Test
+ \caption{Picture two of first chapter}
+\end{figure}
+
+\chapter{Chapter 2}
+\minitoc \minilof
+
+\section{Section one of second chapter}
+\lipsum[3]
+\begin{figure}
+ \centering
+ Test
+ \caption{Picture one of second chapter}
+\end{figure}
+\cleardoublepage
+\section{Section two of second chapter}
+\lipsum[4]
+\begin{figure}
+ \centering
+ Test
+ \caption{Picture two of second chapter}
+\end{figure}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-hop.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf
new file mode 100644
index 00000000000..29e7d77c4d8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex
new file mode 100644
index 00000000000..212d609ad6c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-liv.tex
@@ -0,0 +1,207 @@
+%%
+%% This is file `mtc-liv.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-liv')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[10pt,twoside,openright]{book}
+\ProvidesFile{mtc-liv.tex}%
+ [2007/01/04]
+\makeatletter
+\def\ps@chapterverso{\ps@empty}%
+\def\cleardoublepage{\clearpage
+ \if@twoside
+ \ifodd\c@page\else
+ \null\thispagestyle{chapterverso}\newpage
+ \if@twocolumn\null\newpage\fi
+ \fi
+ \fi
+ }%
+\def\ps@chapterverso{\ps@empty}%
+\makeatother
+\usepackage[latin1]{inputenc}
+\usepackage[TS1,T1]{fontenc}
+\usepackage{tocloft}
+\usepackage{sectsty}
+\usepackage[french,undotted,tight]{minitoc}
+\usepackage[english,francais]{babel}
+\usepackage{franc,frnew}
+\usepackage{mypatches}
+\providecommand{\fup}{\textsuperscript}
+\addtolength{\cftsubsecindent}{1em} % for tocloft
+\cftsetrmarg{2.55em plus 1fil} % to avoid hyphenations in the ToC (tocloft).
+\setcounter{tocdepth}{3}
+\setcounter{secnumdepth}{1}
+\setcounter{minitocdepth}{4}
+\chapterfont{\huge\bfseries\sffamily} % for sectsty
+\renewcommand{\thesection}{\arabic{section}}
+\sectionfont{\Large\raggedright} % for sectsty (to avoid hyphenations in section titles)
+\title{Systèmes d'occultation}
+\author{Laurent~\textsc{Bloch}}
+\begin{document}
+
+\maketitle
+
+\dominitoc
+\tableofcontents
+
+\chapter{Définition et contrôle du travail à~faire}
+\label{chap+controle}
+\minitoc
+
+\section{Le modèle de la grande industrie et le taylorisme}%
+\index{taylorisme}
+C'est au \textsc{xviii}\fup{e}~siècle que la vision du travail comme
+marchandise est vraiment devenue dominante, pour s'imposer au
+\textsc{xix}\fup{e}~siècle dans l'organisation type de la grande usine
+industrielle.
+
+\subsection*{Après l'usine, le centre d'appel}\index{centre d'appel}
+\addcontentsline{toc}{subsection}{Après l'usine, le centre d'appel}
+Aujourd'hui le taylorisme\index{taylorisme} au sens
+strict est en déclin parce qu'il n'est plus guère adapté aux
+besoins de la production industrielle contemporaine non plus qu'aux
+nouvelles normes de comportement individuel et collectif.
+
+\section{Tout travail émet de la pensée}
+Le travail a vocation à~produire du sens, pour son auteur comme pour
+son destinataire.
+
+\section{Théorie et pratique de la commande publique}
+En France, les prestations de service commandées par les
+services publics à~des entreprises font l'objet de contrôles
+de leur bonne réalisation selon des procédures et des règles
+qui sont des cas particuliers d'un ensemble plus vaste, la
+réglementation des marchés publics de l'État, dont nous
+allons donner ci-dessous une brève description.
+
+\subsection{Réglementation des marchés publics}
+Le dispositif juridique, réglementaire et comptable qui encadre les
+actes contractuels de la puissance publique en France est très~[...]
+
+\subsubsection{Premier principe: séparation de l'ordonnateur et du comptable}
+Le premier élément du dispositif est le principe de
+séparation de l'ordonnateur et du comptable. Il a été
+instauré en 1319 par l'ordonnance portant création de la~[...]
+
+\subsubsection{Second principe: contrôle \emph{a~priori}}
+Le second élément du dispositif est le principe du contrôle
+\emph{a~priori}. Lorsque le directeur de l'organisme public
+de recherche pris ici comme exemple (l'ordonnateur) décide~[...]
+
+\subsubsection{Le Code des Marchés Publics}
+Le troisième pilier de la commande publique est le Code des Marchés
+Publics (CMP), qui régit tous les contrats, conclus par des organismes
+publics ou des collectivités territoriales, dont le montant excède un~[...]
+
+\subsection{La pratique des marchés publics}
+Lorsque l'administration française fait réaliser un système
+informatique par un prestataire, elle est en position de maître
+d'ouvrage\index{maîtrise d'ouvrage}. Elle rédige (ou fait rédiger) un
+cahier des charges\index{cahier des charges} qui décrit les
+spécifications du système à~réaliser. Ce cahier des charges constitue~[...]
+
+\subsection{Quels sont les services publics «~rentables~»?}
+Pour parler comme les informaticiens, nous pouvons identifier un
+« effet de bord », c'est-à-dire une conséquence non intentionnelle de
+la réglementation des marchés publics: les administrations ne disposent
+d'aucun moyen pour envisager la notion d'investissement. Le~[...]
+
+\section{Projet et cahier des charges}\index{cahier des charges}
+Jean-Pierre~\textsc{Boutinet} nous guidera ici pour ce qui concerne
+l'histoire de la notion de~[...]
+
+\subsection{La frontière entre conception et fabrication}
+La vision classique de la conduite d'un projet informatique de gestion
+est la suivante: le maître d'ouvrage\index{maîtrise d'ouvrage}~[...]
+
+\subsection{Bâtiment, mécanique, programmation}
+
+Nous y reviendrons au chapitre~\ref{chap+travail}, mais nous savons
+déjà que la mise en {\oe}uvre de l'informatique s'est beaucoup
+inspirée des procédures de travail les plus élaborées du
+\textsc{xx}\fup{e}~siècle~[...]
+
+\chapter{Le travail informatique}
+\minitoc
+
+\section{De la nature de l'informatique}
+
+\subsection{Premières croyances}\label{sub+premcroyances}
+Les premiers ordinateurs, qui entrèrent en fonction à~l'extrême fin
+des années 1940 et durant les années 1950, étaient consacrés à~des
+travaux militaires ou scientifiques puisque, à~cette époque,
+on pensait~[...]
+
+\subsection{Comment l'informatique diffère des mathématiques}
+J'aimerai à~l'occasion de cette analyse attirer l'attention du
+lecteur sur une question qui est une source constante de malentendus
+au sujet de la programmation.
+
+\subsubsection{Les preuves de programme}
+L'écriture de programmes informatiques obéit à~de tout autres
+principes. Il convient de préciser cette affirmation pour la
+préserver~[...]
+
+\section{Programmation dans le monde réel}
+\subsection{La vraie nature de la programmation des ordinateurs}
+
+Alors, comment s'écrivent les programmes informatiques? Et
+d'ailleurs, qu'est-ce qu'une erreur\index{erreur} de programmation?
+Ces questions sont liées et elles sont, bien sûr, au c{\oe}ur de notre
+préoccupation.
+
+\subsection{Méthodes de programmation}
+Un processeur quelconque est caractérisé par le jeu des actions
+élémentaires qu'il est capable d'effectuer. Ces actions élémentaires
+sont appelées les \emph{primitives} du processeur, ou, si le
+processeur est une machine, les «~instructions machine~». Un~[...]
+
+\subsection{Méthodes de construction de programmes}
+Nous avons décrit ci-dessus le processus élémentaire de la
+programmation, celui qui consiste à~écrire les instructions ou les
+expressions qui vont composer un programme.
+
+\subsubsection{La programmation structurée}
+Le premier courant de pensée qui associa la recherche d'une syntaxe
+claire et expressive à~une organisation logique et commode des unités
+de programme fut la \emph{programmation
+structurée}\index{programmation!structurée} des années 1970, dont~[...]
+
+\subsubsection{La programmation par objets}
+Après la programmation structurée vint un autre courant significatif:
+la programmation par objets\index{programmation!par objets}, inventée
+en Norvège à~la fin des années 1960 par l'équipe de~[...]
+
+\subsubsection{Excès dans la pensée}
+Il y a eu beaucoup de verbiage autour de l'aptitude supposée du
+modèle~[...]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-liv.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf
new file mode 100644
index 00000000000..473b2c5a178
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex
new file mode 100644
index 00000000000..3e87a3222f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mem.tex
@@ -0,0 +1,68 @@
+%%
+%% This is file `mtc-mem.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-mem')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass%
+ [oneside]{memoir}
+\ProvidesFile{mtc-mem.tex}%
+ [2007/01/04]
+\usepackage{lipsum}
+%%\usepackage{hyperref}
+%%\usepackage{memhfixc}
+\usepackage%
+ [tight]{minitoc}
+%%\usepackage{mtcoff}
+\begin{document}
+\dominitoc
+\tableofcontents*
+
+\chapter[oneA][oneB]{oneC}
+\minitoc
+\lipsum[1]
+\newpage
+\lipsum[2]
+\section{S-1-one}
+\lipsum[3]
+\section{S-1-two}
+\lipsum[4]
+
+\chapter[twoA][twoB]{twoC}
+\minitoc
+\lipsum[4]
+\newpage
+\lipsum[5]
+\section{S-2-one}
+\lipsum[6]
+\section{S-2-two}
+\lipsum[7]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-mem.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf
new file mode 100644
index 00000000000..c5856977d6a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex
new file mode 100644
index 00000000000..42b60fb88a7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mm1.tex
@@ -0,0 +1,67 @@
+%%
+%% This is file `mtc-mm1.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-mm1')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[oneside]{memoir}
+\ProvidesFile{mtc-mm1.tex}%
+ [2007/01/04]
+\usepackage{lipsum} % filling text
+\providecommand{\cftsecfont}{\empty}
+\providecommand{\cftsubsecfont}{\empty}
+\renewcommand{\cftsubsecfont}{\normalsize\scshape}
+\renewcommand{\cftsubsecfont}{\normalsize\scshape}
+%% hyperref before minitoc, optional
+%%\usepackage[linktocpage=true]{hyperref}\usepackage{memhfixc}
+\usepackage[tight]{minitoc}
+\mtcsetfont{minitoc}{section}{\normalsize\scshape} % <- no scshape
+\mtcsetfont{minitoc}{subsection}{\normalsize\scshape}% <- no scshape
+\providecommand{\cftsecfont}{\empty}
+\providecommand{\cftsubsecfont}{\empty}
+\renewcommand{\cftsubsecfont}{\normalsize\rmfamily\scshape}
+\renewcommand{\cftsubsecfont}{\normalsize\rmfamily\scshape}
+\mtcsettitlefont{minitoc}{\Large\scshape}
+%% this is working beautifully ->
+\mtcsettitle{minitoc}{Chapter Contents}
+\begin{document}
+\dominitoc
+\tableofcontents*
+
+\chapter[OneA][OneB]{OneC}
+\minitoc
+\section{This section}
+\lipsum[1]
+\section{Second section}
+\lipsum[2]
+\section{Third section}
+\lipsum[3]
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-mm1.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf
new file mode 100644
index 00000000000..b616d865209
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex
new file mode 100644
index 00000000000..c5c94676723
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-mu.tex
@@ -0,0 +1,106 @@
+%%
+%% This is file `mtc-mu.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-mu')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt]{report}
+\ProvidesFile{mtc-mu.tex}%
+ [2007/01/04]
+\usepackage[tight]{minitoc}
+\setlength{\mtcindent}{0pt}
+\usepackage{wrapfig}
+\newcommand{\LangSig}[1]{\textsc{[#1]}} % smallcaps
+\begin{document}
+\dominitoc
+\tableofcontents
+\chapter{Mulspren}\label{chapter+mulspren}
+\begin{wrapfigure}{r}{0.5\linewidth}
+\begin{minipage}{\linewidth}
+\vspace{-2.\baselineskip}
+\minitoc
+\vspace{-1.\baselineskip}
+\end{minipage}
+\end{wrapfigure}
+The previous chapter examined many end-user programming environments
+and found that most contain cognitive programming gulfs.
+These gulfs were often created when programing environments used
+multiple notations, and could manifest themselves in a variety of
+usability problems, ranging from users being unable to understand
+a program representation, to not wanting to execute their programs.
+Conversely, the previous chapter also found circumstances where multiple
+notations helped users understand programs.
+It concluded that there was a place for multiple notation programming
+environments, but developers had to be very careful to avoid creating
+programming gulfs.
+It concluded that there was a place for multiple notation programming
+environments, but developers had to be very careful to avoid creating
+programming gulfs.
+
+This chapter introduces our programming environment, Mulspren.
+Mulspren was designed to avoid these gulfs and gain the potential
+benefits of multiple notations.
+Users program using two notations, one similar to English and one
+similar to conventional code.
+Changes in one notation are immediately reflected in the other notation,
+and users can move rapidly and seamlessly between the notations.
+This is programming using dual notations.
+When the program is executed, both notations are animated.
+Mulspren's language signature is \LangSig{Re/Wr/Wa + Re/Wr/Wa + Wa}.
+
+Papers describing Mulspren have been published in~\cite{Wright02-2}
+and~\cite{Wright03-3}.
+
+\section{section 1}
+\section{section 2 bla bla bla bla bla bla bla bla bla bla bla
+bla bla bla bla bla bla bla bla bla}
+\section{section 3}
+\section{section 4}
+\section{section 5 bla bla bla bla bla bla bla bla bla bla bla
+bla bla bla bla bla}
+\begin{thebibliography}{1}
+\bibitem{Wright02-2}
+Tim Wright and Andy Cockburn.
+\newblock Mulspren: a multiple language simulation programming
+ environment.
+\newblock In {\em HCC '02: Proceedings of the IEEE 2002 Symposia
+ on Human Centric Computing Languages and Environments (HCC'02)},
+ page 101, Washington, DC, USA, 2002. IEEE Computer Society.
+
+\bibitem{Wright03-3}
+Tim Wright and Andy Cockburn.
+\newblock Evaluation of two textual programming notations for children.
+\newblock In {\em AUIC '05: Proceedings of the Sixth Australasian
+ conference on User interface}, pages 55--62, Darlinghurst, Australia,
+ Australia, 2005.
+ Australian Computer Society, Inc.
+\end{thebibliography}
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-mu.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf
new file mode 100644
index 00000000000..e1a95d2ac57
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex
new file mode 100644
index 00000000000..4a711dca200
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-sbf.tex
@@ -0,0 +1,92 @@
+%%
+%% This is file `mtc-sbf.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-sbf')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt]{report}
+\ProvidesFile{mtc-sbf.tex}%
+ [2007/01/04]
+\usepackage{subfigure}
+\makeatletter
+\renewcommand{\l@subfigure}{%
+ \@dottedxxxline{\ext@subfigure}{2}{3.9em}{3.3em}}
+\makeatother
+\usepackage{varioref}
+\usepackage[tight]{minitoc}
+\newcommand{\goodap}{%
+ \hspace{\subfigtopskip}%
+ \hspace{\subfigbottomskip}}
+\setcounter{lofdepth}{2}
+\begin{document}
+\mtcsetdepth{minilof}{2}
+\mtcsetfont{minitoc}{section}{\small\rmfamily\upshape\bfseries}
+\mtcsetfont{partlof}{subfigure}{\small\rmfamily\slshape\bfseries}
+\mtcsetfont{partlof}{figure}{\small\rmfamily\upshape\bfseries}
+\mtcsetfont{minilof}{subfigure}{\small\rmfamily\slshape\bfseries}
+\mtcsetfont{minilof}{figure}{\small\rmfamily\upshape\bfseries}
+%% no tables in this document
+%% \mtcsetfont{partlot}{subtable}{\small\rmfamily\slshape\bfseries}
+%% \mtcsetfont{partlot}{table}{\small\rmfamily\upshape\bfseries}
+%% \mtcsetfont{minilot}{subtable}{\small\rmfamily\slshape\bfseries}
+%% \mtcsetfont{minilot}{table}{\small\rmfamily\upshape\bfseries}
+\dominilof
+\tableofcontents
+\listoffigures
+\chapter{First Chapter}
+\minilof
+\mtcskip
+\mtcsetdepth{minilof}{1}
+\minilof
+\begin{figure}
+\centering
+ \fbox{%
+ \begin{minipage}{3.5in}%
+ \raggedright
+ \begin{center}
+ \subfigure[First]{%
+ \fbox{\hbox to 20mm{\vbox to 15mm{\vfil\null}\hfil}}}%
+ \hspace{\subfigtopskip}\hspace{\subfigbottomskip}%
+ \subfigure[Second Figure]{%
+ \fbox{\hbox to 20mm{\vbox to 10mm{\vfil\null}\hfil}}}\\
+ \subfigure[Third]{\label{3figs-c}%
+ \fbox{\hbox to 20mm{\vbox to 10mm{\vfil\null}\hfil}}}\\
+ \caption{Three subfigures.}%
+ \label{3figs}%
+ \end{center}
+ \vspace{4pt}%
+ This figure contains two top `subfigures' and
+ Figure~\ref{3figs-c}.
+ \end{minipage}}
+\end{figure}
+Figure~\vref{3figs} contains two top ``subfigures'' and
+Figure~\vref{3figs-c}.
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-sbf.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf
new file mode 100644
index 00000000000..f5271d07cf0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex
new file mode 100644
index 00000000000..aed341e959c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-scr.tex
@@ -0,0 +1,81 @@
+%%
+%% This is file `mtc-scr.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-scr')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[12pt,halfparskip,liststotoc,bibtotoc]{scrreprt}
+\ProvidesFile{mtc-scr.tex}%
+ [2007/01/04]
+\setcounter{secnumdepth}{4}
+\setcounter{tocdepth}{4}
+\usepackage[latin1]{inputenc}
+\usepackage{longtable}
+\usepackage{hyperref}
+\usepackage[k-tight,germanb]{minitoc}
+\usepackage[germanb]{babel}
+\begin{document}
+\pagenumbering{Roman} % page number in Roman, reset to 1 (I)
+\dominitoc
+\tableofcontents
+\listoftables
+\mtcaddchapter
+\clearpage
+\pagenumbering{arabic} % page number in arabic digits
+\setcounter{page}{1} % forced to 1
+
+\chapter{Test 1}\label{cha:test-1}
+
+Text.
+
+\section{Tabelle}\label{sec:tabelle}
+
+\begin{table}
+ \centering
+ \begin{longtable}[l]{ll}
+ \underline{Ausbildungsbetrieb} \hspace{10mm} & Kommanditgesellschaft
+\\
+ \underline{Ausbildender} & Hammer \\
+ Ausbildungsstätte & XXXXX Ort
+ \end{longtable}
+ \caption{Ausbildungsbetrieb}
+\end{table}
+
+Text.
+
+\appendix
+\chapter{Dokumente}
+\minitoc % Aufruf Minitoc
+
+\section{Anhang}\label{sec:anhang}
+Text.\\
+Hier sollte nun der Anhang sein, davor das Verzeichnis dafür.
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-scr.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf
new file mode 100644
index 00000000000..efefd36a3d4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex
new file mode 100644
index 00000000000..ac340830c84
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-syn.tex
@@ -0,0 +1,75 @@
+%%
+%% This is file `mtc-syn.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-syn')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[a4paper,twoside,12pt]{book}
+\ProvidesFile{mtc-syn.tex}%
+ [2007/01/04]
+\usepackage{minitoc}
+\begin{document}
+\dominitoc
+\chapter*{ } % Dedication chapter, no title
+\mtcaddchapter % Added for a starred chapter
+ % without entry in the ToC
+Dedication goes here
+
+\chapter*{Abstract}
+\mtcaddchapter[Abstract] % Added for a starred chapter
+ % with an entry in the ToC
+Abstract goes here
+
+\chapter*{Declaration}
+\mtcaddchapter[Declaration] % Added for a starred chapter
+ % with an entry in the ToC
+Declaration goes here
+\tableofcontents
+\decrementmtc % Synchro added (look at the .log file)
+\chapter{Chapter One}
+\minitoc
+
+\section{Section 1}
+Some text.
+
+\section{Section 2}
+Some text.
+
+\chapter{Chapter Two}
+\minitoc
+
+\section{Another Section 1}
+Some more text.
+
+\section{Another Section 2}
+Some more text.
+
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-syn.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf
new file mode 100644
index 00000000000..3ea320a62e4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex
new file mode 100644
index 00000000000..e56563c7bd2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tbi.tex
@@ -0,0 +1,83 @@
+%%
+%% This is file `mtc-tbi.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-tbi')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass[a4paper]{report}
+\ProvidesFile{mtc-tbi.tex}%
+ [2007/01/04]
+\usepackage[nottoc]{tocbibind}
+\usepackage[tight]{minitoc}
+\begin{document}
+\dominitoc
+\tableofcontents
+%% tocbibind compatibility
+%% not used if nottoc option :
+%% \mtcaddchapter[]
+\chapter*{Introduction}
+\mtcaddchapter[Introduction]
+\chapter{Title of chapter~1}
+\minitoc
+\section{as1}
+\section{as2}
+\chapter{Title of chapter~2}
+\minitoc
+\section{bs1}
+\section{bs2}
+\chapter{Title of chapter~3}
+\minitoc
+\section{cs1}
+\section{cs2}
+\chapter{Title of chapter~4}
+\minitoc
+\section{ds1}
+\section{ds2}
+\chapter*{Conclusion}
+\mtcaddchapter[Conclusion]
+\chapter*{Appendices}
+\mtcaddchapter[Appendices]
+\minitoc
+\section*{first appendix}
+\addcontentsline{toc}{section}%
+ {first appendix}
+\section*{second appendix}
+\addcontentsline{toc}{section}%
+ {second appendix}
+\listoffigures
+%% tocbibind compatibility
+\mtcaddchapter
+\begin{thebibliography}{3}
+ \bibitem {s1}{title ...}
+\end{thebibliography}
+%% tocbibind compatibility
+\adjustmtc
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-tbi.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf
new file mode 100644
index 00000000000..be61dc20c6c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex
new file mode 100644
index 00000000000..d23e566c472
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tlc.tex
@@ -0,0 +1,68 @@
+%%
+%% This is file `mtc-tlc.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-tlc')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{article}
+\ProvidesFile{mtc-tlc.tex}%
+ [2007/01/04]
+\setlength{\textwidth}%
+ {124.20126pt}
+\setlength{\textheight}%
+ {19\baselineskip}
+\usepackage{minitoc}
+\setlength{\stcindent}{0pt}
+\mtcsetfont{secttoc}{*}%
+ {\footnotesize}
+\mtcsetdepth{secttoc}{3}
+\begin{document}
+\dosecttoc[e]
+\faketableofcontents
+
+\section{Afghanistan}
+\secttoc
+\subsection{Geography}
+\subsubsection{Total area}
+ 647,500 km2
+\subsubsection{Land area}
+ 647,500 km2
+\subsection{History} \ldots
+
+\section{Albania}
+\secttoc
+\subsection{Geography}
+\subsubsection{Total area}
+ 28,750 km2
+\subsubsection{Land area}
+ 27,400 km2
+\subsection{History} \ldots
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-tlc.tex'.
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf
new file mode 100644
index 00000000000..054cf6e642a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex
new file mode 100644
index 00000000000..d8255e899b7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/minitoc/examples/mtc-tsf.tex
@@ -0,0 +1,132 @@
+%%
+%% This is file `mtc-tsf.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% minitoc.dtx (with options: `mtc-tsf')
+%% This is a generated file.
+%%
+%%
+%% This file may be distributed and/or modified under the conditions of
+%% the LaTeX Project Public License, either version 1.3 of this license
+%% or (at your option) any later version. The latest version of this
+%% license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3 or later is part of all distributions of LaTeX version
+%% 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "author-maintained".
+%%
+%% This Current Maintainer of this work is Jean-Pierre F. Drucbert (JPFD).
+%%
+%% This work consists of all the files listed in the file `minitoc.l'
+%% distributed with it.
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000
+%% 2001 2002 2003 2004 2005 2006 2007
+%% Jean-Pierre F. Drucbert
+%% <jean-pierre.drucbert@onera.fr>
+\documentclass{report}
+\ProvidesFile{mtc-tsf.tex}%
+ [2007/01/04]
+\usepackage{fullpage}
+\usepackage[config=altsf]{subfig}
+\usepackage[tight]{minitoc}
+\newdimen\testtemp
+\newcommand{\ru}[1]{%
+ \testtemp #1%
+ \advance\testtemp .5pt%
+ \divide\testtemp 2%
+ \hbox to \testtemp{\leaders\hbox to 1mm{%
+ \vrule height1mm depth0pt width.25pt\hfil}\hfil}%
+ \hbox to 0pt{\hss\vrule height3mm depth0pt width.25pt\hss}%
+ \hbox to \testtemp{\leaders\hbox to 1mm{%
+ \hfil\vrule height1mm depth0pt width.25pt}\hfil}}
+%%
+\fboxsep=-\fboxrule
+\newcommand{\figbox}[1]{%
+ \fbox{%
+ \vbox to 1in{%
+ \vfil
+ \hbox to 2in{%
+ \parbox{2in}{%
+ \centering
+ #1}}%
+ \vfil
+ \vbox to 0pt{%
+ \vss
+ \hbox to 2in{%
+ \hfil
+ \ru{1.1in}%
+ \hfil}}}}}
+\begin{document}
+\setcounter{lofdepth}{2}
+\dominilof
+\listoffigures
+\newpage
+\chapter{Reference Test}
+\minilof
+\mtcskip
+\mtcsetdepth{minilof}{1}
+\minilof
+
+\begin{figure}[ht]%
+ \centering
+ \subfigure{%
+ \label{fig+A}%
+ \figbox{SUBFIGURE ONE:\\
+ (no opt)}}
+ \quad
+ \subfigure[]{%
+ \label{fig+B}%
+ \figbox{SUBFIGURE TWO:\\
+ (empty opt)}}\\
+
+ \subfigure[Subfigure Three.]{%
+ \label{fig+C}%
+ \figbox{SUBFIGURE THREE:\\
+ (opt)}}
+ \quad
+ \subfigure[][Subfigure Four.]{%
+ \label{fig+D}%
+ \figbox{SUBFIGURE FOUR:\\
+ (empty opt and opt)}}
+ \quad
+ \subfigure[][]{%
+ \label{fig+E}%
+ \figbox{SUBFIGURE FIVE:\\
+ (both empty opt)}}\\
+
+ \subfigure[The Sixth Subfigure.][Subfigure Six.]{%
+ \label{fig+F}%
+ \figbox{SUBFIGURE SIX:\\
+ (both opt)}}
+ \quad
+ \subfigure[The Seventh Subfigure][]{%
+ \label{fig+G}%
+ \figbox{SUBFIGURE SEVEN:\\
+ (opt and empty opt)}}
+
+ \caption{Optional argument test.}%
+ \label{fig+main}%
+\end{figure}
+
+The figure~\ref{fig+main} on page~\pageref{fig+main} is composed
+of the seven subfigures~\subref{fig+A} (aka: \ref{fig+A}),
+\subref{fig+B} (aka: \ref{fig+B}), \subref{fig+C} (aka: \ref{fig+C}),
+\subref{fig+D} (aka: \ref{fig+D}), \subref{fig+E} (aka: \ref{fig+E}),
+\subref{fig+F} (aka: \ref{fig+F}), and \subref{fig+G} (aka: \ref{fig+G}).
+
+\section{Centering Test}
+Note that figures~\ref{fig+B}, \ref{fig+E} and \ref{fig+G} are centered.
+This means that \verb|\subfigcapskip| has been set to zero and is not
+offsetting the simple label to the left. Also the remaining captioned
+subfigures (figures~\ref{fig+C}, \ref{fig+D}, and \ref{fig+F}) should
+have centered labels.
+\end{document}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%
+%% End of file `mtc-tsf.tex'.