summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/tocbasic.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/tocbasic.dtx22
1 files changed, 15 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
index 68b7c96d79f..3d94017db18 100644
--- a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
@@ -2,7 +2,7 @@
% \iffalse meta-comment
% ======================================================================
% tocbasic.dtx
-% Copyright (c) Markus Kohm, 2008-2010
+% Copyright (c) Markus Kohm, 2008-2011
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -23,7 +23,7 @@
% of TeX would generate the implementation documentation.
% ----------------------------------------------------------------------
% tocbasic.dtx
-% Copyright (c) Markus Kohm, 2008-2010
+% Copyright (c) Markus Kohm, 2008-2011
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
@@ -66,7 +66,7 @@
%%% From File: tocbasic.dtx
%<*dtx|package|driver|doc|load>
% \fi
-\def\tocbasicversion{2010/09/14 v3.06a}
+\def\tocbasicversion{2010/10/01 v3.07a}
% \iffalse
%</dtx|package|driver|doc|load>
%<*dtx>
@@ -158,7 +158,7 @@
\preamble
-Copyright (c) 2007-2010
+Copyright (c) 2007-2011
Markus Kohm and any individual authors listed elsewhere in this file.
This file was generated from file(s) of the KOMA-Script bundle.
@@ -1892,7 +1892,7 @@ be defined and used in \Macro{tocbasic@listhead}.
\@tempa{ }
\def\tb@@sp@c#1\@nil#2\relax#3{\@temptokena{#1}\edef#3{\the\@temptokena}}
% \end{macrocode}
-% Do not add the files, that babel handles by default.
+% Do not add the files, that babel handles by default.
% \begin{macrocode}
\setuptoc{toc}{nobabel}
\setuptoc{lof}{nobabel}
@@ -1915,7 +1915,9 @@ be defined and used in \Macro{tocbasic@listhead}.
% \end{macro}
%
% \begin{macro}{\tocbasicautomode}
-% \changes{v1.0a}{2008/11/11}{use of \cs{addtotoclist} instead of internal}
+% \changes{v1.0a}{2008/11/11}{use of \cs{addtotoclist} instead of internal}%
+% \changes{v3.07a}{2010/11/25}{fix: added missing
+% \cs{let}\cs{@starttoc}\cs{tocbasic@starttoc}}%
% \Package{tocbasic} can overtake \Macro{@starttoc} to automaticly add all
% used extensions to the list of known extensions and use
% \Macro{tocbasic@starttoc} instead of \Macro{@starttoc} from \LaTeX{}
@@ -1923,6 +1925,7 @@ be defined and used in \Macro{tocbasic@listhead}.
% \begin{macrocode}
\newcommand*{\tocbasicautomode}{%
\let\tb@saved@starttoc\@starttoc
+ \let\@starttoc\tocbasic@starttoc
\BeforeStartingTOC{%
\let\@starttoc\tb@saved@starttoc
\expandafter\ifattoclist\expandafter{\@currext}{}{%
@@ -2274,11 +2277,15 @@ be defined and used in \Macro{tocbasic@listhead}.
% \iffalse
%</package>
%<*load>
-% Used at \KOMAScript{} classes to load and initialize the package.
+% Used at \KOMAScript{} packages and classes to load the package.
% \begin{macrocode}
\edef\@tempa{\noexpand\RequirePackage{tocbasic}[\tocbasicversion]}
\@tempa
% \end{macrocode}
+%
+%<*class>
+% \KOMAScript{} classes need some additional initialization.
+%
% \changes{v1.00}{auto-activation of feature \texttt{onecolumn}}
% Set feature \texttt{onecolumn} for every toc file if feature
% \texttt{leveldown} was not used.
@@ -2294,6 +2301,7 @@ be defined and used in \Macro{tocbasic@listhead}.
\addtotoclist[float]{lof}
\addtotoclist[float]{lot}
% \end{macrocode}
+%</class>
%</load>
% \fi
%