summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-04-12 23:15:36 +0000
committerKarl Berry <karl@freefriends.org>2009-04-12 23:15:36 +0000
commit1a87640a25a3cf2bf77b1cb9c69e3c90f2b3811b (patch)
tree5a6eb1ac516775c93f354fba92bddca5de94c078 /Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty
parentb4c2a162bb8aa0937f3c029e5e103055f55ae3ae (diff)
oberdiek update (12apr09)
git-svn-id: svn://tug.org/texlive/trunk@12705 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty b/Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty
index 80c1a7565cb..b560a2bbc58 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/kvoptions.sty
@@ -8,7 +8,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
@@ -83,6 +83,9 @@
\else
\def\x#1#2[#3]{\endgroup
#2[{#3}]%
+ \ifx#1\@undefined
+ \xdef#1{#3}%
+ \fi
\ifx#1\relax
\xdef#1{#3}%
\fi
@@ -90,7 +93,7 @@
\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)]
\begingroup
\catcode123 1 % {
\catcode125 2 % }
@@ -156,7 +159,7 @@
\DeclareOption{debugshow}{\catcode\@ne=9 }
\DeclareOption{patch}{%
\AtEndOfPackage{%
- \RequirePackage{kvoptions-patch}[2007/10/18]%
+ \RequirePackage{kvoptions-patch}[2009/04/10]%
}%
}
\ProcessOptions\relax
@@ -638,7 +641,7 @@
}%
\fi
}
-\def\KVO@setcurrents#1=#2\@nil{
+\def\KVO@setcurrents#1=#2\@nil{%
\def\CurrentOptionValue{#2}%
\ifx\CurrentOptionValue\@empty
\let\CurrentOptionKey\CurrentOption