summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-31 00:25:41 +0000
committerKarl Berry <karl@freefriends.org>2009-03-31 00:25:41 +0000
commitd9a28f240927d595970990e323f189f3ed45bdaf (patch)
tree7ccf4eea17aed62ba6dcc4639b67832a863782b4 /Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
parent088ae35fa451f7492dec5997ba5f8d53df17f47e (diff)
koma-script update (30mar09)
git-svn-id: svn://tug.org/texlive/trunk@12579 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/tocbasic.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/tocbasic.dtx35
1 files changed, 19 insertions, 16 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
index 7c9feec2182..bce4387a7e4 100644
--- a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{649}
+% \CheckSum{656}
% \iffalse meta-comment
% ======================================================================
% tocbasic.dtx
@@ -7,10 +7,10 @@
% This file is part of the LaTeX2e KOMA-Script bundle.
%
% This work may be distributed and/or modified under the conditions of
-% the LaTeX Project Public License, version 1.3b of the license.
+% the LaTeX Project Public License, version 1.3c of the license.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
-% and version 1.3b or later is part of all distributions of LaTeX
+% and version 1.3c or later is part of all distributions of LaTeX
% version 2005/12/01 or later and of this work.
%
% This work has the LPPL maintenance status "author-maintained".
@@ -26,10 +26,10 @@
% Copyright (c) Markus Kohm, 2008-2009
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
-% Version 1.3b, verteilt und/oder veraendert werden.
+% Version 1.3c, verteilt und/oder veraendert werden.
% Die neuste Version dieser Lizenz ist
% http://www.latex-project.org/lppl.txt
-% und Version 1.3b ist Teil aller Verteilungen von LaTeX
+% und Version 1.3c ist Teil aller Verteilungen von LaTeX
% Version 2005/12/01 oder spaeter und dieses Werks.
%
% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained"
@@ -165,10 +165,10 @@ This file was generated from file(s) of the KOMA-Script bundle.
---------------------------------------------------------------
This work may be distributed and/or modified under the conditions of
-the LaTeX Project Public License, version 1.3b of the license.
+the LaTeX Project Public License, version 1.3c of the license.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
-and version 1.3b or later is part of all distributions of LaTeX
+and version 1.3c or later is part of all distributions of LaTeX
version 2005/12/01 or later and of this work.
This work has the LPPL maintenance status "author-maintained".
@@ -325,11 +325,11 @@ packages. Using this package will also improve compatibility with
You are allowed to destribute this part of \KOMAScript{} without the main
part of \KOMAScript{}. The files ``\File{scrlogo.dtx}'' and
``\File{tocbasic.dtx}'' may be distributed together under the conditions
-of the \LaTeX{} Project Public License, either version~1.3b of this license
+of the \LaTeX{} Project Public License, either version~1.3c of this license
or (at your option) any later version.
The latest version of this license is in
-\mbox{http://www.latex-project.org/lppl.txt} and version~1.3b or later is
+\mbox{http://www.latex-project.org/lppl.txt} and version~1.3c or later is
part of all distributions of \LaTeX{} version~2005/12/01 or later.
% \iffalse
@@ -1510,13 +1510,16 @@ be defined and used in \Macro{tocbasic@listhead}.
\newcommand*{\@listoftoc}[2][\list@fname]{%
\begingroup
\@ifundefined{listof#2name}{%
- \PackageWarning{tocbasic}{%
- You should either define \expandafter\string\csname
- listof#2name\endcsname\MessageBreak
- or use the optional argument of \string\listoftoc\space\MessageBreak
- to set the term to be used for the\MessageBreak
- heading of list of #2}%
- \def\list@fname{\listofname~#2}%
+ \let\list@fname\relax
+ \ifx\relax#1\relax
+ \PackageWarning{tocbasic}{%
+ You should either define \expandafter\string\csname
+ listof#2name\endcsname\MessageBreak
+ or use the optional argument of \string\listoftoc\space\MessageBreak
+ to set the term to be used for the\MessageBreak
+ heading of list of #2}%
+ \def\list@fname{\listofname~#2}%
+ \fi
}{%
\expandafter\let\expandafter\list@fname\csname listof#2name\endcsname
}%