summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/kvdefinekeys
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-20 21:54:04 +0000
committerKarl Berry <karl@freefriends.org>2019-12-20 21:54:04 +0000
commit3b85aff2800bbf28c1f9e0ae85936b670ee59087 (patch)
treee34cdb86bd2fe2becfc39526228f1784536d5059 /Master/texmf-dist/tex/generic/kvdefinekeys
parent3b06c432ae0fdfb702e994798f2ccbdf5f9375ae (diff)
kvdefinekeys (20dec19)
git-svn-id: svn://tug.org/texlive/trunk@53193 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/kvdefinekeys')
-rw-r--r--Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty13
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty b/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
index 53df143cf25..7cefe2cb449 100644
--- a/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
+++ b/Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty
@@ -9,7 +9,7 @@
%% This is a generated file.
%%
%% Project: kvdefinekeys
-%% Version: 2019/12/15 v1.5
+%% Version: 2019-12-19 v1.6
%%
%% Copyright (C)
%% 2010, 2011 Heiko Oberdiek
@@ -106,7 +106,7 @@
\fi
\expandafter\x\csname ver@kvdefinekeys.sty\endcsname
\ProvidesPackage{kvdefinekeys}%
- [2019/12/15 v1.5 Define keys (HO)]%
+ [2019-12-19 v1.6 Define keys (HO)]%
\begingroup\catcode61\catcode48\catcode32=10\relax%
\catcode13=5 % ^^M
\endlinechar=13 %
@@ -179,11 +179,10 @@
\KVD@temp
}
\def\KVD@DefineKey#1#2{%
- \@ifnextchar[\@firstoftwo\@secondoftwo{%
- \KVD@DefineKeyWithDefault{#1}{#2}%
- }{%
- \long\expandafter\def\csname KV@#1@#2\endcsname##1%
- }%
+ \begingroup
+ \toks\z@{\endgroup\KVD@DefineKeyWithDefault{#1}{#2}}%
+ \toks\tw@{\endgroup\long\expandafter\def\csname KV@#1@#2\endcsname##1}%
+ \@ifnextchar[{\the\toks\z@}{\the\toks\tw@}%
}
\long\def\KVD@DefineKeyWithDefault#1#2[#3]{%
\expandafter\def\csname KV@#1@#2@default\expandafter\endcsname