diff options
author | Norbert Preining <norbert@preining.info> | 2020-10-11 03:01:22 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-10-11 03:01:22 +0000 |
commit | fdb18507cd80dc17f5a5256153d34668b4f4e61c (patch) | |
tree | c9d29f5cf249caaebc96a3d199af10b250f51b2a /macros/generic/expkv-opt | |
parent | 03964f11f0331968e99fa5a3d614f25a7b3f8a95 (diff) |
CTAN sync 202010110301
Diffstat (limited to 'macros/generic/expkv-opt')
-rw-r--r-- | macros/generic/expkv-opt/README.md | 2 | ||||
-rw-r--r-- | macros/generic/expkv-opt/expkv-opt.dtx | 15 | ||||
-rw-r--r-- | macros/generic/expkv-opt/expkv-opt.pdf | bin | 260700 -> 260616 bytes |
3 files changed, 9 insertions, 8 deletions
diff --git a/macros/generic/expkv-opt/README.md b/macros/generic/expkv-opt/README.md index c92161eb5a..aa5d63cb02 100644 --- a/macros/generic/expkv-opt/README.md +++ b/macros/generic/expkv-opt/README.md @@ -1,7 +1,7 @@ ------------------------------------------------------------------------------- # expkv-opt -- parse class and package options with expkv -Version 2020-07-04 v0.1a +Version 2020-10-10 v0.1b Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt diff --git a/macros/generic/expkv-opt/expkv-opt.dtx b/macros/generic/expkv-opt/expkv-opt.dtx index 511cf6bf08..f9a30b7966 100644 --- a/macros/generic/expkv-opt/expkv-opt.dtx +++ b/macros/generic/expkv-opt/expkv-opt.dtx @@ -481,8 +481,8 @@ and the derived files expkv-opt.pdf % \begin{macro}{\ekvoVersion,\ekvoDate} % Store the packages version and date in two macros. % \begin{macrocode} -\newcommand*\ekvoVersion{0.1a} -\newcommand*\ekvoDate{2020-07-04} +\newcommand*\ekvoVersion{0.1b} +\newcommand*\ekvoDate{2020-10-10} % \end{macrocode} % \end{macro} % And we report who we are and what we need. @@ -725,11 +725,12 @@ and the derived files expkv-opt.pdf % commas isn't executed, else this is equivalent to % |\ekvparse\ekvo@set@k\ekvo@set@kv{#1}|. % \begin{macrocode} -\long\def\ekvo@parse#1% +\protected\long\def\ekvo@parse#1% {% \ekv@eq@other#1\ekv@nil\ekv@mark\ekv@parse@eq@other@a - =\ekv@mark\ekv@parse@eq@active\ekv@stop + =\ekv@mark\ekv@parse@eq@active \ekvo@set@k\ekvo@set@kv + \ekvo@tail } % \end{macrocode} % \end{macro} @@ -737,9 +738,9 @@ and the derived files expkv-opt.pdf % \begin{macro}[internal]{\ekvo@set@k,\ekvo@set@kv} % These two macros check whether the key is defined and if so call the handler % for defined keys and execute the key, else the handler for undefined keys is -% called. +% called. They have to clean up a bit of code which is left by |\ekvo@parse|. % \begin{macrocode} -\protected\def\ekvo@set@k#1% +\protected\def\ekvo@set@k#1#2\ekvo@tail {% \ekv@ifdefined{\ekvo@name{#1}N}% {% @@ -748,7 +749,7 @@ and the derived files expkv-opt.pdf }% {\ekvo@handle@undefined@k{#1}}% } -\protected\def\ekvo@set@kv#1#2% +\protected\def\ekvo@set@kv#1#2#3\ekvo@tail {% \ekv@ifdefined{\ekvo@name{#1}}% {% diff --git a/macros/generic/expkv-opt/expkv-opt.pdf b/macros/generic/expkv-opt/expkv-opt.pdf Binary files differindex 47257e50d3..140d0c79f3 100644 --- a/macros/generic/expkv-opt/expkv-opt.pdf +++ b/macros/generic/expkv-opt/expkv-opt.pdf |