diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-25 04:43:15 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2006-11-25 04:43:15 +0000 |
commit | 44c60ee6cc9f0b9950bcab1c52db87bb86cc0860 (patch) | |
tree | ef917d4e8a15cac6db7c3394389248d2ca511b91 /Master/texmf-dist/tex/latex/minitoc/mtcoff.sty | |
parent | 82db8f99deb2aff5f2ccc4f896b7431d93147fa7 (diff) |
update minitoc.
git-svn-id: svn://tug.org/texlive/trunk@2524 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/minitoc/mtcoff.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/minitoc/mtcoff.sty | 90 |
1 files changed, 60 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty index 8e38610b60d..303974a5dc9 100644 --- a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty +++ b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty @@ -46,20 +46,26 @@ \def\kernafterparttoc{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterparttoc \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterparttoc + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% \def\kernafterpartlof{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterpartlof \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterpartlof + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% \def\kernafterpartlot{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterpartlot \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterpartlot + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% }% \@ifundefined{chapter}{% @@ -68,20 +74,26 @@ \def\kernaftersecttoc{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernaftersecttoc \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernaftersecttoc + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% \def\kernaftersectlof{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernaftersectlof \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernaftersectlof + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% \def\kernaftersectlot{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernaftersectlot \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernaftersectlot + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern.5ex}% }% }% @@ -89,20 +101,26 @@ \def\kernafterminitoc{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterminitoc \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterminitoc + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-.5\baselineskip\kern.5ex}% \def\kernafterminilof{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterminilof \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterminilof + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern0.ex}% \def\kernafterminilot{% \mtcoffwarn@true \mtcPackageWarning[<F0008>]{mtcoff}% - {The macro \string\kernafterminilot \MessageBreak - should not be used out of context\MessageBreak}% + {The macro \string\kernafterminilot + \MessageBreak + should not be used out of context + \MessageBreak}% \kern-1.\baselineskip\kern0.ex}% }% \let\mtcskip\relax @@ -297,8 +315,10 @@ \fi} \newcommand{\mtcaddchapter}[1][]{\mtcoffwarn@true \mtcPackageWarning[<F0004>]{mtcoff}% - {\protect\mtcaddchapter{...} should be replaced\MessageBreak - by \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} + {\protect\mtcaddchapter{...} should be replaced + \MessageBreak + by \protect\addcontentsline{toc}{chapter}{...} + \MessageBreak} \def\mtc@ck{#1} \ifx\mtc@ck\empty \else @@ -306,8 +326,10 @@ \fi} \newcommand{\mtcaddsection}[1][]{\mtcoffwarn@true \mtcPackageWarning[<F0006>]{mtcoff}% - {\protect\mtcaddsection{...} should be replaced\MessageBreak - by \protect\addcontentsline{toc}{section}{...}\MessageBreak} + {\protect\mtcaddsection{...} should be replaced + \MessageBreak + by \protect\addcontentsline{toc}{section}{...} + \MessageBreak} \def\mtc@ck{#1} \ifx\mtc@ck\empty \else @@ -315,8 +337,10 @@ \fi} \newcommand{\mtcaddpart}[1][]{\mtcoffwarn@true \mtcPackageWarning[<F0005>]{mtcoff}% - {\protect\mtcaddpart{...} should be replaced\MessageBreak - by \protect\addcontentsline{toc}{part}{...}\MessageBreak} + {\protect\mtcaddpart{...} should be replaced + \MessageBreak + by \protect\addcontentsline{toc}{part}{...} + \MessageBreak} \def\mtc@ck{#1} \ifx\mtc@ck\empty \else @@ -343,18 +367,24 @@ \newcommand{\mtcfixindex}[1][]{\relax} \def\addstarredpart#1{\mtcoffwarn@true \mtcPackageWarning[<F0002>]{mtcoff}% - {\protect\addstarredpart{...} should be replaced by\MessageBreak - \protect\addcontentsline{toc}{part}{...}\MessageBreak} + {\protect\addstarredpart{...} should be replaced by + \MessageBreak + \protect\addcontentsline{toc}{part}{...} + \MessageBreak} \addcontentsline{toc}{part}{#1}} \def\addstarredchapter#1{\mtcoffwarn@true \mtcPackageWarning[<F0001>]{mtcoff}% - {\protect\addstarredchapter{...} should be replaced by\MessageBreak - \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} + {\protect\addstarredchapter{...} should be replaced by + \MessageBreak + \protect\addcontentsline{toc}{chapter}{...} + \MessageBreak} \addcontentsline{toc}{chapter}{#1}} \def\addstarredsection#1{\mtcoffwarn@true \mtcPackageWarning[<F0003>]{mtcoff}% - {\protect\addstarredsection{...} should be replaced by\MessageBreak - \protect\addcontentsline{toc}{section}{...}\MessageBreak} + {\protect\addstarredsection{...} should be replaced by + \MessageBreak + \protect\addcontentsline{toc}{section}{...} + \MessageBreak} \addcontentsline{toc}{section}{#1}} \endinput %% |