texlive[56633] Master/texmf-dist: expkv-opt (11oct20)
commits+karl at tug.org
commits+karl at tug.org
Sun Oct 11 22:49:19 CEST 2020
Revision: 56633
http://tug.org/svn/texlive?view=revision&revision=56633
Author: karl
Date: 2020-10-11 22:49:19 +0200 (Sun, 11 Oct 2020)
Log Message:
-----------
expkv-opt (11oct20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/expkv-opt/README.md
trunk/Master/texmf-dist/doc/generic/expkv-opt/expkv-opt.pdf
trunk/Master/texmf-dist/source/generic/expkv-opt/expkv-opt.dtx
trunk/Master/texmf-dist/tex/generic/expkv-opt/expkv-opt.sty
Modified: trunk/Master/texmf-dist/doc/generic/expkv-opt/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/expkv-opt/README.md 2020-10-11 20:48:59 UTC (rev 56632)
+++ trunk/Master/texmf-dist/doc/generic/expkv-opt/README.md 2020-10-11 20:49:19 UTC (rev 56633)
@@ -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
Modified: trunk/Master/texmf-dist/doc/generic/expkv-opt/expkv-opt.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/generic/expkv-opt/expkv-opt.dtx
===================================================================
--- trunk/Master/texmf-dist/source/generic/expkv-opt/expkv-opt.dtx 2020-10-11 20:48:59 UTC (rev 56632)
+++ trunk/Master/texmf-dist/source/generic/expkv-opt/expkv-opt.dtx 2020-10-11 20:49:19 UTC (rev 56633)
@@ -481,8 +481,8 @@
% \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 @@
% commas isn't executed, else this is equivalent to
% |\ekvparse\ekvo at set@k\ekvo at set@kv{#1}|.
% \begin{macrocode}
-\long\def\ekvo at parse#1%
+\protected\long\def\ekvo at parse#1%
{%
\ekv at eq@other#1\ekv at nil\ekv at mark\ekv at parse@eq at other@a
- =\ekv at mark\ekv at parse@eq at active\ekv at stop
+ =\ekv at mark\ekv at parse@eq at active
\ekvo at set@k\ekvo at set@kv
+ \ekvo at tail
}
% \end{macrocode}
% \end{macro}
@@ -737,9 +738,9 @@
% \begin{macro}[internal]{\ekvo at set@k,\ekvo at 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 at parse|.
% \begin{macrocode}
-\protected\def\ekvo at set@k#1%
+\protected\def\ekvo at set@k#1#2\ekvo at tail
{%
\ekv at ifdefined{\ekvo at name{#1}N}%
{%
@@ -748,7 +749,7 @@
}%
{\ekvo at handle@undefined at k{#1}}%
}
-\protected\def\ekvo at set@kv#1#2%
+\protected\def\ekvo at set@kv#1#2#3\ekvo at tail
{%
\ekv at ifdefined{\ekvo at name{#1}}%
{%
Modified: trunk/Master/texmf-dist/tex/generic/expkv-opt/expkv-opt.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/expkv-opt/expkv-opt.sty 2020-10-11 20:48:59 UTC (rev 56632)
+++ trunk/Master/texmf-dist/tex/generic/expkv-opt/expkv-opt.sty 2020-10-11 20:49:19 UTC (rev 56633)
@@ -29,8 +29,8 @@
%% and the derived files expkv-opt.pdf
%% expkv-opt.sty
%%
-\newcommand*\ekvoVersion{0.1a}
-\newcommand*\ekvoDate{2020-07-04}
+\newcommand*\ekvoVersion{0.1b}
+\newcommand*\ekvoDate{2020-10-10}
\ProvidesPackage{expkv-opt}
[%
\ekvoDate\space v\ekvoVersion\space
@@ -156,13 +156,14 @@
{%
\expandafter\ekvo at CurrentOption@loop\expandafter{#1}\ekvo at parse
}
-\long\def\ekvo at parse#1%
+\protected\long\def\ekvo at parse#1%
{%
\ekv at eq@other#1\ekv at nil\ekv at mark\ekv at parse@eq at other@a
- =\ekv at mark\ekv at parse@eq at active\ekv at stop
+ =\ekv at mark\ekv at parse@eq at active
\ekvo at set@k\ekvo at set@kv
+ \ekvo at tail
}
-\protected\def\ekvo at set@k#1%
+\protected\def\ekvo at set@k#1#2\ekvo at tail
{%
\ekv at ifdefined{\ekvo at name{#1}N}%
{%
@@ -171,7 +172,7 @@
}%
{\ekvo at handle@undefined at k{#1}}%
}
-\protected\def\ekvo at set@kv#1#2%
+\protected\def\ekvo at set@kv#1#2#3\ekvo at tail
{%
\ekv at ifdefined{\ekvo at name{#1}}%
{%
More information about the tex-live-commits
mailing list.