texlive[54047] Master/texmf-dist: expkv-def (1mar20)
commits+karl at tug.org
commits+karl at tug.org
Wed Mar 4 00:04:02 CET 2020
Revision: 54047
http://tug.org/svn/texlive?view=revision&revision=54047
Author: karl
Date: 2020-03-04 00:04:02 +0100 (Wed, 04 Mar 2020)
Log Message:
-----------
expkv-def (1mar20)
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-03-03 23:03:50 UTC (rev 54046)
+++ trunk/Master/texmf-dist/doc/latex/expkv-def/README.md 2020-03-03 23:04:02 UTC (rev 54047)
@@ -1,7 +1,7 @@
-------------------------------------------------------------------------------
# expkv-def -- a key-defining frontend for expkv
-Version 2020-02-27 v0.1
+Version 2020-02-29 v0.1a
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-03-03 23:03:50 UTC (rev 54046)
+++ trunk/Master/texmf-dist/source/latex/expkv-def/expkv-def.dtx 2020-03-03 23:04:02 UTC (rev 54047)
@@ -230,7 +230,7 @@
% \pkg{l3keys}) or directory like handlers (\emph{e.g.}, |/.store in| of
% \pkg{pgfkeys}). This was decided as a personal preference, more over in \TeX\
% parsing for the first space is way easier than parsing for the last one.
-% \expkvd's prefixes are sorted into two categories |p|-type, which are
+% \expkvd's prefixes are sorted into two categories: |p|-type, which are
% equivalent to \TeX's prefixes like |\long|, and |t|-type defining the type of
% the key. For a description of the available |p|-prefixes take a look at
% \autoref{sec:prefix:p}, the |t|-prefixes are described in
@@ -387,7 +387,7 @@
%
% \begin{function}{skip,eskip,gskip,xskip}
% \begin{syntax}
-% dimen \key\ = \meta{cs} \prefixes12
+% skip \key\ = \meta{cs} \prefixes12
% \end{syntax}
% The \meta{cs} should be a single control sequence, such as |\foo|.
% This is just like |int| but uses a skip register, |\newskip| and |\glueexpr|
@@ -396,7 +396,7 @@
%
% \begin{function}{toks,gtoks,apptoks,gapptoks}
% \begin{syntax}
-% dimen \key\ = \meta{cs} \prefixes12
+% toks \key\ = \meta{cs} \prefixes12
% \end{syntax}
% The \meta{cs} should be a single control sequence, such as |\foo|.
% Store \val\ inside of a toks-register. The |g| variants use |\global|, the
@@ -452,7 +452,7 @@
% \begin{syntax}
% set \key\ = \marg{set} \prefixes33
% \end{syntax}
-% This will define |\key| to change the set of the current |\ekvset|
+% This will define \key\ to change the set of the current |\ekvset|
% invocation to \set. You can omit \set\ (including the equals sign),
% which is the same as using \texttt{set \key\ = \{\key\}}. The created |set|
% key will not take a \val. Note that just like in \expkv\ it'll not be
@@ -467,7 +467,7 @@
% Defines \key\ to be a |choice| key, meaning it will only accept a limited
% set of values. You should define each possible \val\ inside of the
% \val=\meta{definition} list. If a defined \val\ is passed to \key\ the
-% \meta{dafinition} will be left in the input stream. You can make
+% \meta{definition} will be left in the input stream. You can make
% individual values |protected| inside the \val=\meta{definition} list. By
% default a |choice| key is expandable, an undefined \val\ will throw an error
% in an expandable way.
@@ -583,8 +583,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.1}
-\def\ekvdDate{2020-02-27}
+\def\ekvdVersion{0.1a}
+\def\ekvdDate{2020-02-29}
% \end{macrocode}
% \end{macro}
%
@@ -608,7 +608,7 @@
% \begin{macro}[internal]
% {\ekvd at long,\ekvd at prot,\ekvd at clear@prefixes,\ekvd at empty}
% \expkvd\ will use |\ekvd at long| and |\ekvd at prot| to store whether a key should
-% be defined an |\long| or |\protected|, and we have to clear them for every new
+% be defined as |\long| or |\protected|, and we have to clear them for every new
% key. By default they'll just be empty.
% \begin{macrocode}
\def\ekvd at empty{}
@@ -641,12 +641,12 @@
% the prefix grabbing routine, else we throw an error and ignore the key.
% \begin{macrocode}
\protected\def\ekvd at noarg#1{\ekvd@{#1}\ekvd at noarg@mark}
-\protected\def\ekvd@#1#2%
+\protected\long\def\ekvd@#1#2%
{%
\ekvd at clear@prefixes
\ekvd at ifspace{#1}%
{\ekvd at prefix\ekv at mark#1\ekv at stop{#2}}%
- {\ekvd at missing@prefix{#1}}%
+ {\ekvd at err@missing at prefix{#1}}%
}
% \end{macrocode}
% \end{macro}
@@ -996,7 +996,7 @@
\ekvd at prot\ekvd at long\def\ekvd at tmp#2{\ekvset{#1}{#3}}%
}
\protected\def\ekvd at t@meta{\ekvd at type@meta{}\ekvlet{##1}}
-\protected\def\ekvd at t@nmeta#1#2%
+\protected\long\def\ekvd at t@nmeta#1#2%
{%
\ekvd at assert@not at long{nmeta #1}%
\ekvd at type@meta n\ekvletNoVal{}{#1}{#2}%
@@ -1023,7 +1023,7 @@
\expandafter\ekvd at type@meta@\expandafter{\@firstoftwo#2}{#3}{#1}%
}
\protected\def\ekvd at t@smeta{\ekvd at type@smeta{}\ekvlet{##1}}
-\protected\def\ekvd at t@snmeta#1#2%
+\protected\long\def\ekvd at t@snmeta#1#2%
{%
\ekvd at assert@not at long{snmeta #1}%
\ekvd at type@smeta n\ekvletNoVal{}{#1}{#2}%
@@ -1062,7 +1062,7 @@
{%
\ekvparse\ekvd at populate@choice at noarg\ekvd at populate@choice@
}
-\protected\def\ekvd at populate@choice at noarg#1%
+\protected\long\def\ekvd at populate@choice at noarg#1%
{%
\expandafter\ekvd at err@missing at definition\expandafter{\ekvd at set@choice : #1}%
}
Modified: trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex 2020-03-03 23:03:50 UTC (rev 54046)
+++ trunk/Master/texmf-dist/tex/generic/expkv-def/expkv-def.tex 2020-03-03 23:04:02 UTC (rev 54047)
@@ -35,8 +35,8 @@
\else
\expandafter\endinput
\fi
-\def\ekvdVersion{0.1}
-\def\ekvdDate{2020-02-27}
+\def\ekvdVersion{0.1a}
+\def\ekvdDate{2020-02-29}
\csname ekvd at tmp\endcsname
\expandafter\chardef\csname ekvd at tmp\endcsname=\catcode`\@
\catcode`\@=11
@@ -53,12 +53,12 @@
\ekvparse\ekvd at noarg\ekvd@
}
\protected\def\ekvd at noarg#1{\ekvd@{#1}\ekvd at noarg@mark}
-\protected\def\ekvd@#1#2%
+\protected\long\def\ekvd@#1#2%
{%
\ekvd at clear@prefixes
\ekvd at ifspace{#1}%
{\ekvd at prefix\ekv at mark#1\ekv at stop{#2}}%
- {\ekvd at missing@prefix{#1}}%
+ {\ekvd at err@missing at prefix{#1}}%
}
\protected\def\ekvd at prefix#1 {\ekv at strip{#1}\ekvd at prefix@\ekv at mark}
\protected\def\ekvd at prefix@#1#2\ekv at stop
@@ -267,7 +267,7 @@
\ekvd at prot\ekvd at long\def\ekvd at tmp#2{\ekvset{#1}{#3}}%
}
\protected\def\ekvd at t@meta{\ekvd at type@meta{}\ekvlet{##1}}
-\protected\def\ekvd at t@nmeta#1#2%
+\protected\long\def\ekvd at t@nmeta#1#2%
{%
\ekvd at assert@not at long{nmeta #1}%
\ekvd at type@meta n\ekvletNoVal{}{#1}{#2}%
@@ -285,7 +285,7 @@
\expandafter\ekvd at type@meta@\expandafter{\@firstoftwo#2}{#3}{#1}%
}
\protected\def\ekvd at t@smeta{\ekvd at type@smeta{}\ekvlet{##1}}
-\protected\def\ekvd at t@snmeta#1#2%
+\protected\long\def\ekvd at t@snmeta#1#2%
{%
\ekvd at assert@not at long{snmeta #1}%
\ekvd at type@smeta n\ekvletNoVal{}{#1}{#2}%
@@ -303,7 +303,7 @@
{%
\ekvparse\ekvd at populate@choice at noarg\ekvd at populate@choice@
}
-\protected\def\ekvd at populate@choice at noarg#1%
+\protected\long\def\ekvd at populate@choice at noarg#1%
{%
\expandafter\ekvd at err@missing at definition\expandafter{\ekvd at set@choice : #1}%
}
More information about the tex-live-commits
mailing list.