From 1a87640a25a3cf2bf77b1cb9c69e3c90f2b3811b Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 12 Apr 2009 23:15:36 +0000
Subject: oberdiek update (12apr09)

git-svn-id: svn://tug.org/texlive/trunk@12705 c570f23f-e606-0410-a88d-b1316a301751
---
 .../texmf-dist/source/latex/oberdiek/kvoptions.dtx | 29 ++++++++++++++--------
 1 file changed, 18 insertions(+), 11 deletions(-)

(limited to 'Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx')

diff --git a/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx b/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
index 9b2fb5dce26..a4b97417ec9 100644
--- a/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/kvoptions.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-% Copyright (C) 2004, 2006, 2007 by
+% Copyright (C) 2004, 2006, 2007, 2009 by
 %    Heiko Oberdiek <oberdiek@uni-freiburg.de>
 %
 % This work may be distributed and/or modified under the
@@ -73,7 +73,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: kvoptions 2007/10/18 v3.0 Keyval support for LaTeX options (HO)}
+\Msg{* Package: kvoptions 2009/04/10 v3.1 Keyval support for LaTeX options (HO)}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -84,7 +84,7 @@
 
 This is a generated file.
 
-Copyright (C) 2004, 2006, 2007 by
+Copyright (C) 2004, 2006, 2007, 2009 by
    Heiko Oberdiek <oberdiek@uni-freiburg.de>
 
 This work may be distributed and/or modified under the
@@ -148,7 +148,7 @@ and the derived files
 %<*driver>
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesFile{kvoptions.drv}%
-  [2007/10/18 v3.0 Keyval support for LaTeX options (HO)]%
+  [2009/04/10 v3.1 Keyval support for LaTeX options (HO)]%
 \documentclass{ltxdoc}
 \usepackage{holtxdoc}[2008/08/11]
 \begin{document}
@@ -157,7 +157,7 @@ and the derived files
 %</driver>
 % \fi
 %
-% \CheckSum{1987}
+% \CheckSum{1991}
 %
 % \CharacterTable
 %  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -178,7 +178,7 @@ and the derived files
 % \GetFileInfo{kvoptions.drv}
 %
 % \title{The \xpackage{kvoptions} package}
-% \date{2007/10/18 v3.0}
+% \date{2009/04/10 v3.1}
 % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
 %
 % \maketitle
@@ -654,7 +654,7 @@ and the derived files
     % Package identification
     % -----------------------
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{example-mycolorsetup}[2007/10/18 Managing my colors]
+\ProvidesPackage{example-mycolorsetup}[2009/04/10 Managing my colors]
 
 \RequirePackage{ifpdf}
 \RequirePackage{kvoptions}
@@ -1018,6 +1018,9 @@ and the derived files
   \else
     \def\x#1#2[#3]{\endgroup
       #2[{#3}]%
+      \ifx#1\@undefined
+        \xdef#1{#3}%
+      \fi
       \ifx#1\relax
         \xdef#1{#3}%
       \fi
@@ -1025,7 +1028,7 @@ and the derived files
   \fi
 \expandafter\x\csname ver@kvoptions.sty\endcsname
 \ProvidesPackage{kvoptions}%
-  [2007/10/18 v3.0 Keyval support for LaTeX options (HO)]
+  [2009/04/10 v3.1 Keyval support for LaTeX options (HO)]
 %    \end{macrocode}
 %
 % \paragraph{Catcodes}
@@ -1119,7 +1122,7 @@ and the derived files
 %    \begin{macrocode}
 \DeclareOption{patch}{%
   \AtEndOfPackage{%
-    \RequirePackage{kvoptions-patch}[2007/10/18]%
+    \RequirePackage{kvoptions-patch}[2009/04/10]%
   }%
 }
 %    \end{macrocode}
@@ -1813,7 +1816,7 @@ and the derived files
 %    \begin{macro}{\KVO@setcurrents}
 %    Extract the key part of a key=value pair.
 %    \begin{macrocode}
-\def\KVO@setcurrents#1=#2\@nil{
+\def\KVO@setcurrents#1=#2\@nil{%
   \def\CurrentOptionValue{#2}%
   \ifx\CurrentOptionValue\@empty
     \let\CurrentOptionKey\CurrentOption
@@ -1902,7 +1905,7 @@ and the derived files
   \noexpand\endinput
 }
 \ProvidesPackage{kvoptions-patch}%
-  [2007/10/18 v3.0 LaTeX patch for keyval options (HO)]%
+  [2009/04/10 v3.1 LaTeX patch for keyval options (HO)]%
 %    \end{macrocode}
 %
 %    Check for \eTeX.
@@ -2842,6 +2845,10 @@ and the derived files
 %   \item
 %     New package \xpackage{kvoptions-patch}.
 %   \end{Version}
+%   \begin{Version}{2009/04/10 v3.1}
+%   \item
+%     Space by line end removed in definition of internal macro.
+%   \end{Version}
 % \end{History}
 %
 % \PrintIndex
-- 
cgit v1.2.3

