diff options
author | Karl Berry <karl@freefriends.org> | 2019-12-20 21:54:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-12-20 21:54:04 +0000 |
commit | 3b85aff2800bbf28c1f9e0ae85936b670ee59087 (patch) | |
tree | e34cdb86bd2fe2becfc39526228f1784536d5059 | |
parent | 3b06c432ae0fdfb702e994798f2ccbdf5f9375ae (diff) |
kvdefinekeys (20dec19)
git-svn-id: svn://tug.org/texlive/trunk@53193 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf | bin | 296070 -> 297077 bytes | |||
-rw-r--r-- | Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx | 24 | ||||
-rw-r--r-- | Master/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty | 13 |
3 files changed, 19 insertions, 18 deletions
diff --git a/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf b/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf Binary files differindex 5006be590c3..6a6146ab151 100644 --- a/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf +++ b/Master/texmf-dist/doc/latex/kvdefinekeys/kvdefinekeys.pdf diff --git a/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx b/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx index 11810e33245..3ff9036f4be 100644 --- a/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx +++ b/Master/texmf-dist/source/latex/kvdefinekeys/kvdefinekeys.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % % File: kvdefinekeys.dtx -% Version: 2019/12/15 v1.5 +% Version: 2019-12-19 v1.6 % Info: Define keys % % Copyright (C) @@ -83,7 +83,7 @@ \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: kvdefinekeys 2019/12/15 v1.5 Define keys (HO)} +\Msg{* Package: kvdefinekeys 2019-12-19 v1.6 Define keys (HO)} \Msg{************************************************************************} \keepsilent @@ -95,7 +95,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 @@ -160,7 +160,7 @@ and the derived files %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{kvdefinekeys.drv}% - [2019/12/15 v1.5 Define keys (HO)]% + [2019-12-19 v1.6 Define keys (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2011/11/22] \begin{document} @@ -174,7 +174,7 @@ and the derived files % \GetFileInfo{kvdefinekeys.drv} % % \title{The \xpackage{kvdefinekeys} package} -% \date{2019/12/15 v1.5} +% \date{2019-12-19 v1.6} % \author{Heiko Oberdiek\thanks % {Please report any issues at \url{https://github.com/ho-tex/kvdefinekeys/issues}}} % @@ -293,7 +293,7 @@ and the derived files \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)]% % \end{macrocode} % % \begin{macrocode} @@ -385,11 +385,10 @@ and the derived files % \begin{macro}{\KVD@DefineKey} % \begin{macrocode} \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@}% } % \end{macrocode} % \end{macro} @@ -604,6 +603,9 @@ and the derived files % \item % Documentation updates. % \end{Version} +% \begin{Version}{2019-12-19 v1.6} +% \item Fix definition of \cs{KVD@DefineKey} for gh issue embedfile/2 +% \end{Version} % \end{History} % % \PrintIndex 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 |