texlive[54970] Master/texmf-dist: expkv-def missed

commits+karl at tug.org commits+karl at tug.org
Sat May 2 19:46:00 CEST 2020


Revision: 54970
          http://tug.org/svn/texlive?view=revision&revision=54970
Author:   karl
Date:     2020-05-02 19:45:59 +0200 (Sat, 02 May 2020)
Log Message:
-----------
expkv-def missed

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/expkv-def/README.md
    trunk/Master/texmf-dist/doc/latex/expkv-def/expkv-def.pdf
    trunk/Master/texmf-dist/source/latex/expkv-def/expkv-def.dtx
    trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex

Modified: trunk/Master/texmf-dist/doc/latex/expkv-def/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/expkv-def/README.md	2020-05-01 23:57:10 UTC (rev 54969)
+++ trunk/Master/texmf-dist/doc/latex/expkv-def/README.md	2020-05-02 17:45:59 UTC (rev 54970)
@@ -1,7 +1,7 @@
 -------------------------------------------------------------------------------
 # expkv-def -- a key-defining frontend for expkv
 
-Version 2020-04-04 v0.2a
+Version 2020-04-29 v0.3
 
 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/latex/expkv-def/expkv-def.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/expkv-def/expkv-def.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/expkv-def/expkv-def.dtx	2020-05-01 23:57:10 UTC (rev 54969)
+++ trunk/Master/texmf-dist/source/latex/expkv-def/expkv-def.dtx	2020-05-02 17:45:59 UTC (rev 54970)
@@ -450,7 +450,8 @@
 %   This key type can set other keys, you can access the \val\ which was passed
 %   to \key\ inside the \kv\ list with |#1|. It works by calling a sub-|\ekvset|
 %   on the \kv\ list, so a |set| key will only affect that \kv\ list and not the
-%   current |\ekvset|.
+%   current |\ekvset|. Since it runs in a separate |\ekvset| you can't use
+%   |\ekvsneak| using keys or similar macros in the way you normally could.
 % \end{function}
 %
 % \begin{function}{nmeta}
@@ -668,8 +669,8 @@
 % \begin{macro}{\ekvdVersion,\ekvdDate}
 % We're on our first input, so lets store the version and date in a macro.
 %    \begin{macrocode}
-\def\ekvdVersion{0.2a}
-\def\ekvdDate{2020-04-04}
+\def\ekvdVersion{0.3}
+\def\ekvdDate{2020-04-29}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1115,7 +1116,10 @@
 % \end{macro}
 %
 % \begin{macro}[internal]
-%   {\ekvd at type@meta,\ekvd at type@meta@,\ekvd at t@meta,\ekvd at t@nmeta}
+%   {
+%     \ekvd at type@meta,\ekvd at type@meta at a,\ekvd at type@meta at b,\ekvd at type@meta at c,
+%     \ekvd at t@meta,\ekvd at t@nmeta
+%   }
 % |meta| sets up things such that another instance of |\ekvset| will be run on
 % the argument, with the same \set.
 %    \begin{macrocode}
@@ -1124,14 +1128,22 @@
     \ekvd at assert@filledarg{#1meta #4}{#5}%
       {%
         \edef\ekvd at tmp{\ekvd at set}%
-        \expandafter\ekvd at type@meta@\expandafter{\ekvd at tmp}{#3}{#5}%
+        \expandafter\ekvd at type@meta at a\expandafter{\ekvd at tmp}{#5}{#3}%
         #2\ekvd at set{#4}\ekvd at tmp
       }%
   }
-\protected\long\def\ekvd at type@meta@#1#2#3%
+\protected\long\def\ekvd at type@meta at a#1#2%
   {%
-    \ekvd at prot\ekvd at long\def\ekvd at tmp#2{\ekvset{#1}{#3}}%
+    \expandafter\ekvd at type@meta at b\expandafter{\ekvset{#1}{#2}}%
   }
+\protected\def\ekvd at type@meta at b
+  {%
+    \expandafter\ekvd at type@meta at c\expandafter
+  }
+\protected\long\def\ekvd at type@meta at c#1#2%
+  {%
+    \ekvd at prot\ekvd at long\def\ekvd at tmp#2{#1}%
+  }
 \protected\def\ekvd at t@meta{\ekvd at type@meta{}\ekvlet{##1}}
 \protected\long\def\ekvd at t@nmeta#1#2%
   {%
@@ -1151,14 +1163,10 @@
   {%
     \ekvd at assert@twoargs{s#1meta #4}{#5}%
       {%
-        \expandafter\ekvd at type@smeta@\expandafter{\@secondoftwo#5}{#5}{#3}
+        \ekvd at type@meta at a#5{#3}%
         #2\ekvd at set{#4}\ekvd at tmp
       }%
   }
-\protected\long\def\ekvd at type@smeta@#1#2#3%
-  {%
-    \expandafter\ekvd at type@meta@\expandafter{\@firstoftwo#2}{#3}{#1}%
-  }
 \protected\def\ekvd at t@smeta{\ekvd at type@smeta{}\ekvlet{##1}}
 \protected\long\def\ekvd at t@snmeta#1#2%
   {%

Modified: trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex	2020-05-01 23:57:10 UTC (rev 54969)
+++ trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex	2020-05-02 17:45:59 UTC (rev 54970)
@@ -35,8 +35,8 @@
 \else
   \expandafter\endinput
 \fi
-\def\ekvdVersion{0.2a}
-\def\ekvdDate{2020-04-04}
+\def\ekvdVersion{0.3}
+\def\ekvdDate{2020-04-29}
 \csname ekvd at tmp\endcsname
 \expandafter\chardef\csname ekvd at tmp\endcsname=\catcode`\@
 \catcode`\@=11
@@ -302,14 +302,22 @@
     \ekvd at assert@filledarg{#1meta #4}{#5}%
       {%
         \edef\ekvd at tmp{\ekvd at set}%
-        \expandafter\ekvd at type@meta@\expandafter{\ekvd at tmp}{#3}{#5}%
+        \expandafter\ekvd at type@meta at a\expandafter{\ekvd at tmp}{#5}{#3}%
         #2\ekvd at set{#4}\ekvd at tmp
       }%
   }
-\protected\long\def\ekvd at type@meta@#1#2#3%
+\protected\long\def\ekvd at type@meta at a#1#2%
   {%
-    \ekvd at prot\ekvd at long\def\ekvd at tmp#2{\ekvset{#1}{#3}}%
+    \expandafter\ekvd at type@meta at b\expandafter{\ekvset{#1}{#2}}%
   }
+\protected\def\ekvd at type@meta at b
+  {%
+    \expandafter\ekvd at type@meta at c\expandafter
+  }
+\protected\long\def\ekvd at type@meta at c#1#2%
+  {%
+    \ekvd at prot\ekvd at long\def\ekvd at tmp#2{#1}%
+  }
 \protected\def\ekvd at t@meta{\ekvd at type@meta{}\ekvlet{##1}}
 \protected\long\def\ekvd at t@nmeta#1#2%
   {%
@@ -320,14 +328,10 @@
   {%
     \ekvd at assert@twoargs{s#1meta #4}{#5}%
       {%
-        \expandafter\ekvd at type@smeta@\expandafter{\@secondoftwo#5}{#5}{#3}
+        \ekvd at type@meta at a#5{#3}%
         #2\ekvd at set{#4}\ekvd at tmp
       }%
   }
-\protected\long\def\ekvd at type@smeta@#1#2#3%
-  {%
-    \expandafter\ekvd at type@meta@\expandafter{\@firstoftwo#2}{#3}{#1}%
-  }
 \protected\def\ekvd at t@smeta{\ekvd at type@smeta{}\ekvlet{##1}}
 \protected\long\def\ekvd at t@snmeta#1#2%
   {%



More information about the tex-live-commits mailing list.