From d169595175488e9e35570df5f4b22214627896e0 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Wed, 19 Nov 2008 02:08:50 +0000
Subject: koma-script update

git-svn-id: svn://tug.org/texlive/trunk@11355 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/koma-script/scrartcl.cls  | 33 ++++++++++++++++------
 1 file changed, 24 insertions(+), 9 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/koma-script/scrartcl.cls')

diff --git a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls
index bda5b6d1a5b..9dc74cf92f6 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls
+++ b/Master/texmf-dist/tex/latex/koma-script/scrartcl.cls
@@ -92,7 +92,7 @@
       \fi
     }
   \fi
-  \@CheckKOMAScriptVersion{2008/11/03 v3.00 KOMA-Script}%
+  \@CheckKOMAScriptVersion{2008/11/14 v3.01 KOMA-Script}%
 \endgroup
 \newcommand*{\KOMAClassName}{%
   scrartcl%
@@ -106,7 +106,7 @@
 %%% From File: scrkbase.dtx
 \RequirePackage{scrkbase}[\KOMAScriptVersion]
 %%% From File: tocbasic.dtx
-\def\tocbasicversion{2008/10/06 v1.0}
+\def\tocbasicversion{2008/11/13 v3.01}
 \edef\@tempa{\noexpand\RequirePackage{tocbasic}[\tocbasicversion]}
 \@tempa
 \addtotoclist{toc}
@@ -157,6 +157,7 @@
 \@namedef{scr@v@2.98b}{6}
 \@namedef{scr@v@2.98c}{7}
 \@namedef{scr@v@3.00}{8}
+\@namedef{scr@v@3.01}{8}
 \@namedef{scr@v@last}{8}
 %%% From File: scrkmisc.dtx
 \KOMA@key{draft}[true]{%
@@ -2800,13 +2801,7 @@
   \begingroup\let\if@dynlist\if@tocleft\listoftoc{toc}\endgroup
 }
 \newcommand*{\float@listhead}[1]{%
-  \ClassWarning{\KOMAClassName}{%
-    usage of deprecated \string\float@listhead!\MessageBreak
-    You should use the features of package `tocbasic'\MessageBreak
-    instead of \string\float@listhead.\MessageBreak
-    Definition of \string\float@listhead\space my be removed from\MessageBreak
-    KOMA-Script soon, so it should not be used
-  }%
+  \scr@float@listhead@warning
   \float@@listhead{#1}%
   \@mkboth{#1}{#1}%
   \if@dynlist%
@@ -2817,6 +2812,26 @@
     }%
   \fi
 }
+\newcommand*{\scr@float@listhead@warning}{%
+  \ClassWarning{\KOMAClassName}{%
+    Usage of deprecated \string\float@listhead!\MessageBreak
+    You should use the features of package `tocbasic'\MessageBreak
+    instead of \string\float@listhead.\MessageBreak
+    Definition of \string\float@listhead\space my be removed from\MessageBreak
+    `\KOMAClassName' soon, so it should not be used
+  }%
+}
+\newcommand*{\scr@float@addtolists@warning}{%
+  \ClassWarningNoLine{\KOMAClassName}{%
+    \string\float@addtolists\space detected!\MessageBreak
+    You should use the features of package `tocbasic'\MessageBreak
+    instead of \string\float@addtolists.\MessageBreak
+    Support for \string\float@addtolists\space may be removed
+    from\MessageBreak
+    `\KOMAClassName' soon
+  }%
+  \global\let\scr@float@addtolists@warning\relax
+}
 \newcommand*\listfigurename{List of Figures}
 \newcommand*\listoflofname{\listfigurename}
 \newcommand*\listtablename{List of Tables}
-- 
cgit v1.2.3

