diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/minitoc/mtcoff.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/minitoc/mtcoff.sty | 58 |
1 files changed, 40 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty index a50a44e1374..f3e25d855d5 100644 --- a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty +++ b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty @@ -8,8 +8,8 @@ %% %% This is a generated file. %% -%% Copyright (C) 2005 by: -%% Jean-Pierre F. Drucbert +%% Copyright (C) 2005, 2006 by: +%% Jean-Pierre F. Drucbert (JPFD) %% <jean-pierre.drucbert@onera.fr> %% %% This file may be distributed and/or modified under the conditions of @@ -24,13 +24,15 @@ %% %% This work has the LPPL maintenance status "author-maintained". %% -%% This Current Maintainer of this work is Jean-Pierre F. Drucbert. +%% 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. %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{mtcoff}[2005/09/16 v43 The mtcoff package] +\ProvidesPackage{mtcoff}[2006/06/08 v45 The mtcoff package] +\RequirePackage{mtcmess}[2006/03/14] \let\c@minitocdepth\count@ \let\mtcindent\dimen@ \let\mtcskipamount\bigskipamount @@ -41,6 +43,8 @@ \let\c@mtc\count@ \let\c@ptc\count@ \let\c@stc\count@ +\def\mtcgapbeforeheads{50\p@} +\def\mtcgapafterheads{40\p@} \let\mtcskip\relax \let\faketableofcontents\relax \let\fakelistoffigures\relax @@ -79,13 +83,14 @@ \def\secttoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} \def\sectlof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} \def\sectlot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\mtcprepare{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} \let\tf@mtc\count@ \let\mtc@string\relax \let\appendixmtc\relax \let\l@xchapter\@gobbletwo \let\xchapter\relax \let\pchapter\relax -\let\psection\relax +\let\psect\relax \let\l@xpart\@gobbletwo \let\xpart\relax \let\l@xsect\@gobbletwo @@ -98,7 +103,9 @@ \let\ptcPfont\empty \let\ptcSPfont\empty \let\plffont\empty +\let\plfSfont\empty \let\pltfont\empty +\let\pltSfont\empty \let\ptifont\empty \let\mtcfont\empty \let\mtcSfont\empty @@ -107,7 +114,9 @@ \let\mtcPfont\empty \let\mtcSPfont\empty \let\mlffont\empty +\let\mlfSfont\empty \let\mltfont\empty +\let\mltSfont\empty \let\mtifont\empty \let\stcfont\empty \let\stcSSfont\empty @@ -115,7 +124,9 @@ \let\stcPfont\empty \let\stcSPfont\empty \let\slffont\empty +\let\slfSfont\empty \let\sltfont\empty +\let\sltSfont\empty \let\stifont\empty \let\coffeefont\empty \let\mtcsetdepth\@gobbletwo @@ -205,22 +216,27 @@ \newif\iftightmtc \tightmtcfalse \newif\ifktightmtc \ktightmtcfalse \newif\ifundottedmtc \undottedmtcfalse +\newif\ifmtcsecondpart \mtcsecondpartfalse \let\l@listof\chapter \newif\ifmtcoffwarn@ \mtcoffwarn@false \AtEndDocument{\ifmtcoffwarn@ - \PackageWarningNoLine{mtcoff}% - {You should scan (backwards) your .log file to find + \mtcPackageWarningNoLine[<F0007>]{mtcoff}% + {You should scan (backwards) your .log \MessageBreak - some commands needing to be replaced if you decide to + file to find some commands needing \MessageBreak - DEFINITELY stop using minitoc for this document. + to be replaced if you decide to \MessageBreak - It is more wise to keep the \string\usepackage\space lines for + DEFINITELY stop using minitoc for this \MessageBreak - minitoc and mtcoff and to comment out only one of them} + document. It is more wise to keep the + \MessageBreak + \string\usepackage\space lines for minitoc and mtcoff + \MessageBreak + and to comment out only one of them} \fi} \newcommand{\mtcaddchapter}[1][]{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0004>]{mtcoff}% {\protect\mtcaddchapter{...} should be replaced\MessageBreak by \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} \def\mtc@ck{#1} @@ -229,7 +245,7 @@ \addcontentsline{toc}{chapter}{#1}% \fi} \newcommand{\mtcaddsection}[1][]{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0006>]{mtcoff}% {\protect\mtcaddsection{...} should be replaced\MessageBreak by \protect\addcontentsline{toc}{section}{...}\MessageBreak} \def\mtc@ck{#1} @@ -238,7 +254,7 @@ \addcontentsline{toc}{part}{#1}% \fi} \newcommand{\mtcaddpart}[1][]{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0005>]{mtcoff}% {\protect\mtcaddpart{...} should be replaced\MessageBreak by \protect\addcontentsline{toc}{part}{...}\MessageBreak} \def\mtc@ck{#1} @@ -257,20 +273,26 @@ {\empty}{\empty} \newenvironment{mtchideinmainlot}[1][-1]% {\empty}{\empty} -\newcommand{\mtcfixindex}[1][]{\relax} +\let\mtc@savetocdepth\empty +\let\mtc@savelofdepth\empty +\let\mtc@savelotdepth\empty +\let\mtc@restoretocdepth\empty +\let\mtc@restorelofdepth\empty +\let\mtc@restorelotdepth\empty \newcommand{\mtcfixglossary}[1][]{\relax} +\newcommand{\mtcfixindex}[1][]{\relax} \def\addstarredpart#1{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0002>]{mtcoff}% {\protect\addstarredpart{...} should be replaced by\MessageBreak \protect\addcontentsline{toc}{part}{...}\MessageBreak} \addcontentsline{toc}{part}{#1}} \def\addstarredchapter#1{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0001>]{mtcoff}% {\protect\addstarredchapter{...} should be replaced by\MessageBreak \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} \addcontentsline{toc}{chapter}{#1}} \def\addstarredsection#1{\mtcoffwarn@true - \PackageWarning{mtcoff}% + \mtcPackageWarning[<F0003>]{mtcoff}% {\protect\addstarredsection{...} should be replaced by\MessageBreak \protect\addcontentsline{toc}{section}{...}\MessageBreak} \addcontentsline{toc}{section}{#1}} |