From e580f05b6906cceb59c89211eb69c02b58b2d35d Mon Sep 17 00:00:00 2001
From: "Dr. Clea F. Rees" <cfrees@imapmail.org>
Date: Wed, 10 Dec 2008 20:53:15 +0000
Subject: koma-script update 2008/12/10

git-svn-id: svn://tug.org/texlive/trunk@11586 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/tex/latex/koma-script/scrextend.sty | 25 ++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/koma-script/scrextend.sty')

diff --git a/Master/texmf-dist/tex/latex/koma-script/scrextend.sty b/Master/texmf-dist/tex/latex/koma-script/scrextend.sty
index 0f48dc1ce4b..b6d1b19eb0e 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrextend.sty
+++ b/Master/texmf-dist/tex/latex/koma-script/scrextend.sty
@@ -85,6 +85,13 @@
 \newcommand*{\scr@ext@activateable}[1]{%
   \expandafter\newcommand\expandafter*\csname scr@ext@activate@#1\endcsname
 }
+\newcommand*{\scr@ext@addto@activateable}[1]{%
+  \scr@ifundefinedorrelax{scr@ext@activate@#1}{%
+    \expandafter\newcommand\expandafter*\csname scr@ext@activate@#1\endcsname
+  }{%
+    \expandafter\g@addto@macro\csname scr@ext@activate@#1\endcsname
+  }%
+}
 %%% From File: scrkvers.dtx
 \begingroup
   \makeatletter
@@ -107,7 +114,7 @@
       \fi
     }
   \fi
-  \@CheckKOMAScriptVersion{2008/11/23 v3.01a KOMA-Script}%
+  \@CheckKOMAScriptVersion{2008/12/09 v3.01b KOMA-Script}%
 \endgroup
 %%% From File: scrkbase.dtx
 \RequirePackage{scrkbase}[\KOMAScriptVersion]
@@ -139,11 +146,14 @@
   }%
 }
 %%% From File: scrkcomp.dtx
-\newcommand*{\scr@compatibility}{\scr@v@last}
+\providecommand*
+  {\scr@compatibility}{\scr@v@last}
 \KOMA@key{version}[last]{%
   \scr@ifundefinedorrelax{scr@v@#1}{%
     \def\scr@compatibility{0}%
-    \PackageWarningNoLine{scrextend}{%
+    \PackageWarningNoLine{%
+      scrextend%
+    }{%
       You have set option `version' to value `#1', but\MessageBreak
       this value of version is not supported.\MessageBreak
       Because of this, version was set to `first'%
@@ -157,7 +167,9 @@
 }
 \AtEndOfPackage{%
   \KOMA@key{version}[]{%
-    \PackageError{scrextend}{%
+    \PackageError{%
+      scrextend%
+    }{%
       Option `version' too late%
     }{%
       Option `version' may be set only while loading the
@@ -188,7 +200,8 @@
 \@namedef{scr@v@3.00}{8}
 \@namedef{scr@v@3.01}{8}
 \@namedef{scr@v@3.01a}{8}
-\@namedef{scr@v@last}{8}
+\@namedef{scr@v@3.01b}{9}
+\@namedef{scr@v@last}{9}
 %%% From File: scrkmisc.dtx
 \KOMA@key{draft}[true]{%
   \KOMA@set@ifkey{draft}{@tempswa}{#1}%
@@ -699,7 +712,7 @@
   }%
 }
 %%% From File: scrktitl.dtx
-\scr@ext@activateable{title}{%
+\scr@ext@addto@activateable{title}{%
 \newcommand*{\@extratitle}{}%
 \newcommand{\extratitle}[1]{\gdef\@extratitle{%
     ##1%
-- 
cgit v1.2.3

