diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/minitoc/mtcoff.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/minitoc/mtcoff.sty | 279 |
1 files changed, 279 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty new file mode 100644 index 00000000000..a50a44e1374 --- /dev/null +++ b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty @@ -0,0 +1,279 @@ +%% +%% This is file `mtcoff.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% minitoc.dtx (with options: `mtcoff') +%% +%% This is a generated file. +%% +%% Copyright (C) 2005 by: +%% Jean-Pierre F. Drucbert +%% <jean-pierre.drucbert@onera.fr> +%% +%% 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. +%% +%% 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] +\let\c@minitocdepth\count@ +\let\mtcindent\dimen@ +\let\mtcskipamount\bigskipamount +\let\c@parttocdepth\count@ +\let\ptcindent\dimen@ +\let\c@secttocdepth\count@ +\let\stcindent\dimen@ +\let\c@mtc\count@ +\let\c@ptc\count@ +\let\c@stc\count@ +\let\mtcskip\relax +\let\faketableofcontents\relax +\let\fakelistoffigures\relax +\let\fakelistoftables\relax +\newcommand{\adjustptc}[1][1]{\relax} +\newcommand{\adjustmtc}[1][1]{\relax} +\newcommand{\adjuststc}[1][1]{\relax} +\let\decrementptc\relax +\let\decrementmtc\relax +\let\decrementstc\relax +\let\incrementptc\relax +\let\incrementmtc\relax +\let\incrementstc\relax +\let\partend\relax +\let\partbegin\relax +\let\chapterend\relax +\let\chapterbegin\relax +\let\sectend\relax +\let\sectbegin\relax +\def\gobbleopt@[#1]{\relax} +\def\doparttoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dopartlof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dopartlot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\parttoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\partlof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\partlot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dominitoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dominilof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dominilot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\minitoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\minilof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\minilot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dosecttoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dosectlof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\dosectlot{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\secttoc{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\sectlof{\@ifnextchar[{\gobbleopt@}{\gobbleopt@[l]}} +\def\sectlot{\@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\l@xpart\@gobbletwo +\let\xpart\relax +\let\l@xsect\@gobbletwo +\let\xsect\relax +\let\ptcfont\empty +\let\ptcCfont\empty +\let\ptcSfont\empty +\let\ptcSSfont\empty +\let\ptcSSSfont\empty +\let\ptcPfont\empty +\let\ptcSPfont\empty +\let\plffont\empty +\let\pltfont\empty +\let\ptifont\empty +\let\mtcfont\empty +\let\mtcSfont\empty +\let\mtcSSfont\empty +\let\mtcSSSfont\empty +\let\mtcPfont\empty +\let\mtcSPfont\empty +\let\mlffont\empty +\let\mltfont\empty +\let\mtifont\empty +\let\stcfont\empty +\let\stcSSfont\empty +\let\stcSSSfont\empty +\let\stcPfont\empty +\let\stcSPfont\empty +\let\slffont\empty +\let\sltfont\empty +\let\stifont\empty +\let\coffeefont\empty +\let\mtcsetdepth\@gobbletwo +\def\mtcsetfont#1#2#3{\empty} +\let\mtcsettitlefont\@gobbletwo +\let\mtcsettitle\@gobbletwo +\def\mtcsetformat#1#2#3{\empty} +\def\mtcsetfeature#1#2#3{\empty} +\let\mtcsetpagenumbers\@gobbletwo +\let\mtcsetrules\@gobbletwo +\@ifundefined{part}{}{\let\l@starpart\l@part} +\@ifundefined{chapter}{}{\let\l@starchapter\l@chapter} +\@ifundefined{section}{}{\let\l@starsection\l@section} +\@ifundefined{subsection}{}{\let\l@starsubsection\l@subsection} +\@ifundefined{subsubsection}{}{\let\l@starsubsubsection\l@subsubsection} +\@ifundefined{paragraph}{}{\let\l@starparagraph\l@paragraph} +\@ifundefined{subparagraph}{}{\let\l@starsubparagraph\l@subparagraph} +\let\firstpartis\@gobble +\let\firstchapteris\@gobble +\let\firstsectionis\@gobble +\let\mtcselectlanguage\@gobble +\let\mtcloadmlo\@gobble +\let\ptcrule\relax +\let\noptcrule\relax +\let\mtcrule\relax +\let\nomtcrule\relax +\let\stcrule\relax +\let\nostcrule\relax +\let\plfrule\relax +\let\noplfrule\relax +\let\mlfrule\relax +\let\nomlfrule\relax +\let\slfrule\relax +\let\noslfrule\relax +\let\pltrule\relax +\let\nopltrule\relax +\let\mltrule\relax +\let\nomltrule\relax +\let\sltrule\relax +\let\nosltrule\relax +\let\mtcpagenumbers\relax +\let\nomtcpagenumbers\relax +\let\stcpagenumbers\relax +\let\nostcpagenumbers\relax +\let\ptcpagenumbers\relax +\let\noptcpagenumbers\relax +\let\mlfpagenumbers\relax +\let\nomlfpagenumbers\relax +\let\slfpagenumbers\relax +\let\noslfpagenumbers\relax +\let\plfpagenumbers\relax +\let\noplfpagenumbers\relax +\let\mltpagenumbers\relax +\let\nomltpagenumbers\relax +\let\sltpagenumbers\relax +\let\nosltpagenumbers\relax +\let\pltpagenumbers\relax +\let\nopltpagenumbers\relax +\let\beforeparttoc\empty +\let\beforepartlof\empty +\let\beforepartlot\empty +\let\afterparttoc\empty +\let\afterpartlof\empty +\let\afterpartlot\empty +\let\thispageparttocstyle\empty +\let\thispagepartlofstyle\empty +\let\thispagepartlotstyle\empty +\let\beforeminitoc\empty +\let\beforeminilof\empty +\let\beforeminilot\empty +\let\afterminitoc\empty +\let\afterminilof\empty +\let\afterminilot\empty +\let\thispageminitocstyle\empty +\let\thispageminilofstyle\empty +\let\thispageminilotstyle\empty +\let\beforesecttoc\empty +\let\beforesectlof\empty +\let\beforesectlot\empty +\let\aftersecttoc\empty +\let\aftersectlof\empty +\let\aftersectlot\empty +\let\thispagesecttocstyle\empty +\let\thispagesectlofstyle\empty +\let\thispagesectlotstyle\empty +\newif\if@longextensions@ \@longextensions@true +\newif\iftightmtc \tightmtcfalse +\newif\ifktightmtc \ktightmtcfalse +\newif\ifundottedmtc \undottedmtcfalse +\let\l@listof\chapter +\newif\ifmtcoffwarn@ \mtcoffwarn@false +\AtEndDocument{\ifmtcoffwarn@ + \PackageWarningNoLine{mtcoff}% + {You should scan (backwards) your .log file to find + \MessageBreak + some commands needing to be replaced if you decide to + \MessageBreak + DEFINITELY stop using minitoc for this document. + \MessageBreak + It is more wise to keep the \string\usepackage\space lines for + \MessageBreak + minitoc and mtcoff and to comment out only one of them} +\fi} +\newcommand{\mtcaddchapter}[1][]{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\mtcaddchapter{...} should be replaced\MessageBreak + by \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} +\def\mtc@ck{#1} +\ifx\mtc@ck\empty +\else + \addcontentsline{toc}{chapter}{#1}% +\fi} +\newcommand{\mtcaddsection}[1][]{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\mtcaddsection{...} should be replaced\MessageBreak + by \protect\addcontentsline{toc}{section}{...}\MessageBreak} +\def\mtc@ck{#1} +\ifx\mtc@ck\empty +\else + \addcontentsline{toc}{part}{#1}% +\fi} +\newcommand{\mtcaddpart}[1][]{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\mtcaddpart{...} should be replaced\MessageBreak + by \protect\addcontentsline{toc}{part}{...}\MessageBreak} +\def\mtc@ck{#1} +\ifx\mtc@ck\empty +\else + \addcontentsline{toc}{part}{#1}% +\fi} +\def\addcoffeeline#1#2#3{\relax} +\let\coffeeline\@gobble +\let\l@coffee\relax +\def\@Undottedtocline#1#2#3#4#5{\relax} +\def\@Undottedtoclinep#1#2#3#4#5{\relax} +\newenvironment{mtchideinmaintoc}[1][-1]% + {\empty}{\empty} +\newenvironment{mtchideinmainlof}[1][-1]% + {\empty}{\empty} +\newenvironment{mtchideinmainlot}[1][-1]% + {\empty}{\empty} +\newcommand{\mtcfixindex}[1][]{\relax} +\newcommand{\mtcfixglossary}[1][]{\relax} +\def\addstarredpart#1{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\addstarredpart{...} should be replaced by\MessageBreak + \protect\addcontentsline{toc}{part}{...}\MessageBreak} + \addcontentsline{toc}{part}{#1}} +\def\addstarredchapter#1{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\addstarredchapter{...} should be replaced by\MessageBreak + \protect\addcontentsline{toc}{chapter}{...}\MessageBreak} + \addcontentsline{toc}{chapter}{#1}} +\def\addstarredsection#1{\mtcoffwarn@true + \PackageWarning{mtcoff}% + {\protect\addstarredsection{...} should be replaced by\MessageBreak + \protect\addcontentsline{toc}{section}{...}\MessageBreak} + \addcontentsline{toc}{section}{#1}} +\endinput +%% +%% End of file `mtcoff.sty'. |