[latex3-commits] [git/LaTeX3-latex3-latex3] main: Document that \prop_from_keyval:nN requires an "=" for each key (de9428ac6)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 17 07:46:08 CET 2022


Repository : https://github.com/latex3/latex3
On branch  : main
Link       : https://github.com/latex3/latex3/commit/de9428ac6440d2e2250361345cd6bf13b59c34f9

>---------------------------------------------------------------

commit de9428ac6440d2e2250361345cd6bf13b59c34f9
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 17 06:46:08 2022 +0000

    Document that \prop_from_keyval:nN requires an "=" for each key
    
    See #1046 for more on this.


>---------------------------------------------------------------

de9428ac6440d2e2250361345cd6bf13b59c34f9
 l3kernel/l3prop.dtx | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index 037f7bc44..5482b5ca8 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -133,6 +133,10 @@
 %   signs.  The \meta{key} is then processed by \cs{tl_to_str:n}.
 %   This function correctly detects the |=| and |,| signs provided they
 %   have the standard category code~$12$ or they are active.
+%
+%   Notice that in contrast to most keyval lists (\emph{e.g.}~those in
+%   \pkt{l3keys}), each key here \emph{must} be followed with an \texttt{=}
+%   sign.
 % \end{function}
 %
 % \begin{function}[added = 2017-11-28, updated = 2021-11-07]
@@ -151,6 +155,10 @@
 %   keys appear only the last of the values is kept.
 %   This function correctly detects the |=| and |,| signs provided they
 %   have the standard category code~$12$ or they are active.
+%
+%   Notice that in contrast to most keyval lists (\emph{e.g.}~those in
+%   \pkt{l3keys}), each key here \emph{must} be followed with an \texttt{=}
+%   sign.
 % \end{function}
 %
 % \section{Adding and updating property list entries}





More information about the latex3-commits mailing list.