summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/minitoc/mtcoff.sty')
-rw-r--r--Master/texmf-dist/tex/latex/minitoc/mtcoff.sty66
1 files changed, 64 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty
index 6986773f496..931a5c1541f 100644
--- a/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty
+++ b/Master/texmf-dist/tex/latex/minitoc/mtcoff.sty
@@ -5,7 +5,6 @@
%% The original source files were:
%%
%% minitoc.dtx (with options: `mtcoff')
-%%
%% This is a generated file.
%%
%% Copyright (C) 2005, 2006 by:
@@ -28,8 +27,8 @@
%%
%% This work consists of all the files listed in the file `minitoc.l'
%% distributed with it.
-%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{mtcoff}[2006/06/27 v30 The mtcoff package]
@@ -46,6 +45,69 @@
\let\c@stc\count@
\def\mtcgapbeforeheads{50\p@}
\def\mtcgapafterheads{40\p@}
+ \@ifundefined{part}{}{%
+ \def\kernafterparttoc{%
+ \mtcoffwarn@true
+ \mtcPackageWarning[<F0008>]{mtcoff}%
+ {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}%
+ \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}%
+ \kern-1.\baselineskip\kern.5ex}%
+ }%
+ \@ifundefined{chapter}{%
+ \@ifundefined{section}{}%
+ {%
+ \def\kernaftersecttoc{%
+ \mtcoffwarn@true
+ \mtcPackageWarning[<F0008>]{mtcoff}%
+ {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}%
+ \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}%
+ \kern-1.\baselineskip\kern.5ex}%
+ }%
+ }%
+ {%
+ \def\kernafterminitoc{%
+ \mtcoffwarn@true
+ \mtcPackageWarning[<F0008>]{mtcoff}%
+ {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}%
+ \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}%
+ \kern-1.\baselineskip\kern0.ex}%
+ }%
\let\mtcskip\relax
\let\faketableofcontents\relax
\let\fakelistoffigures\relax