\def\fileversion{v40}
\def\filedate{2004/12/20}
% mtcoff.sty % version #40
% was minitocoff.sty some years ago... (v27 20Dec1996)
% disables user commands of minitoc.sty
\NeedsTeXFormat{LaTeX2e}%%%% This file will not work with latex2.09
\ProvidesPackage{mtcoff}[\filedate\space\fileversion\space
                            The mtcoff package]
\let\c@minitocdepth\count@
\let\mtcindent\dimen@
\let\mtcskipamount\bigskipamount
\let\mtcskip\relax
\let\chapterend\relax
\let\chapterbegin\relax
\let\faketableofcontents\relax
\let\fakelistoffigures\relax
\let\fakelistoftables\relax

\let\c@parttocdepth\count@
\let\ptcindent\dimen@
\let\partend\relax
\let\partbegin\relax

\let\c@secttocdepth\count@
\let\stcindent\dimen@
\let\sectend\relax
\let\sectbegin\relax

\let\c@mtc\count@
\let\c@ptc\count@
\let\c@stc\count@

\let\adjustmtc\relax %32
\let\adjustptc\relax %32
\let\adjuststc\relax %32

\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\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\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]}}

\def\gobbleopt@[#1]{\relax}

% disables internal commands
\let\tf@mtc\count@
\let\mtc@string\relax
\let\appendixmtc\relax
\let\l@xchapter\@gobbletwo
\let\l@ychapter\@gobbletwo
\let\xchapter\relax
\let\ychapter\relax
\let\pchapter\relax
\let\psection\relax
\let\l@xpart\@gobbletwo
\let\l@ypart\@gobbletwo
\let\xpart\relax
\let\ypart\relax
\let\l@xsect\@gobbletwo
\let\l@ysect\@gobbletwo
\let\xsect\relax
\let\ysect\relax
% disables font commands
% with \empty and not \relax,
% because some users have done \renewcommand\mtcfont...
% which will not work if we use \relax here.
\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\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\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

\@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\ptcrule\relax
\let\noptcrule\relax 
\let\mtcrule\relax
\let\nomtcrule\relax 
\let\stcrule\relax
\let\nostcrule\relax 

\let\mtcselectlanguage\@gobble % v35 2001/03/09

\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\relax       %v32
\let\beforepartlof\relax       %v32
\let\beforepartlot\relax       %v32
\let\afterparttoc\relax        %v32
\let\afterpartlof\relax        %v32
\let\afterpartlot\relax        %v32
\let\thispagetocstyle\relax    %v32
\let\thispagelofstyle\relax    %v32
\let\thispagelotstyle\relax    %v32

\let\l@listof\chapter
\newif\if@longextensions % v28
\newif\iftightmtc \tightmtcfalse % v28
\newif\ifundottedmtc \undottedmtcfalse % v29
\newif\ifmtcoffwarn@ \mtcoffwarn@false   % v33
\AtEndDocument{\ifmtcoffwarn@            % v33
\PackageWarning{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.
\MessageBreak}
\fi}

\newcommand{\mtcaddchapter}[1][]{\mtcoffwarn@true%                %v33
\PackageWarning{mtcoff}{\protect\mtcaddchapter{...} should be     %v33
replaced\MessageBreak%                                            %v33
by \protect\addcontentsline{toc}{chapter}{...}}                   %v33
\def\mtc@ck{#1}                                                   %v33
\ifx\mtc@ck\empty                                                 %v33
\else                                                             %v33
\addcontentsline{toc}{chapter}{#1}\fi}                            %v33
\newcommand{\mtcaddsection}[1][]{\mtcoffwarn@true%                %v33
\PackageWarning{mtcoff}{\protect\mtcaddsection{...} should be     %v33
replaced\MessageBreak%                                            %v33
by \protect\addcontentsline{toc}{section}{...}}                   %v33
\def\mtc@ck{#1}                                                   %v33
\ifx\mtc@ck\empty                                                 %v33
\else                                                             %v33
\addcontentsline{toc}{part}{#1}\fi}                               %v33
\newcommand{\mtcaddpart}[1][]{\mtcoffwarn@true%                   %v33
\PackageWarning{mtcoff}{\protect\mtcaddpart{...} should be        %v33
replaced\MessageBreak%                                            %v33
by \protect\addcontentsline{toc}{part}{...}}                      %v33
\def\mtc@ck{#1}                                                   %v33
\ifx\mtc@ck\empty                                                 %v33
\else                                                             %v33
\addcontentsline{toc}{part}{#1}\fi}                               %v33

\let\coffeefont\relax
\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}
\def\addstarredpart#1{%
\PackageWarning{mtcoff}{\protect\addstarredpart{...} should be
replaced\MessageBreak%
by \protect\addcontentsline{toc}{part}{...}}
\addcontentsline{toc}{part}{#1}}
\def\addstarredchapter#1{%
\PackageWarning{mtcoff}{\protect\addstarredchapter{...} should be
replaced\MessageBreak%
by \protect\addcontentsline{toc}{chapter}{...}}
\addcontentsline{toc}{chapter}{#1}}
\def\addstarredsection#1{%
\PackageWarning{mtcoff}{\protect\addstarredsection{...} should be
replaced\MessageBreak%
by \protect\addcontentsline{toc}{section}{...}}
\addcontentsline{toc}{section}{#1}}
%%
%% \CharacterTable
%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
\endinput
%% 
%% End of file `mtcoff.sty'.
