[latex3-commits] [git/LaTeX3-latex3-latex3] main: Document improvements in \prop_..._from_keyval:Nn made in pull #1012 (9546483f5)
Bruno Le Floch
blflatex at gmail.com
Sun Nov 7 22:56:52 CET 2021
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/9546483f5643677598fc0603079c0fb201289bc4
>---------------------------------------------------------------
commit 9546483f5643677598fc0603079c0fb201289bc4
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Sun Nov 7 22:56:52 2021 +0100
Document improvements in \prop_..._from_keyval:Nn made in pull #1012
>---------------------------------------------------------------
9546483f5643677598fc0603079c0fb201289bc4
l3kernel/CHANGELOG.md | 4 ++++
l3kernel/l3prop.dtx | 12 +++++++++---
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 4932bea1b..1a0df31cd 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -14,6 +14,10 @@ this project uses date-based 'snapshot' version identifiers.
- `.str_set:N`, etc., key properties (issue #1007)
- `\bool_to_str:n` (issue #1010)
+### Changed
+- `\prop_..._from_keyval:Nn` functions now support active comma or
+ equal sign (pull #1012)
+
## [2021-10-18]
### Added
diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index 573ce667f..943013343 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -111,7 +111,7 @@
% \meta{property list_2}.
% \end{function}
%
-% \begin{function}[added = 2017-11-28, updated = 2021-11-01]
+% \begin{function}[added = 2017-11-28, updated = 2021-11-07]
% {
% \prop_set_from_keyval:Nn, \prop_set_from_keyval:cn,
% \prop_gset_from_keyval:Nn, \prop_gset_from_keyval:cn,
@@ -131,9 +131,11 @@
% group then a set of outer braces is removed. This enables both the
% \meta{key} and the \meta{value} to contain spaces, commas or equal
% 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.
% \end{function}
%
-% \begin{function}[added = 2017-11-28, updated = 2021-11-01]
+% \begin{function}[added = 2017-11-28, updated = 2021-11-07]
% {\prop_const_from_keyval:Nn, \prop_const_from_keyval:cn}
% \begin{syntax}
% \cs{prop_const_from_keyval:Nn} \meta{prop~var}
@@ -147,6 +149,8 @@
% contain key--value pairs given in the second argument, processed in
% the way described for \cs{prop_set_from_keyval:Nn}. If duplicate
% 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.
% \end{function}
%
% \section{Adding and updating property list entries}
@@ -205,7 +209,7 @@
% last value, namely the value in \meta{prop~var_3} is kept.
% \end{function}
%
-% \begin{function}[added = 2021-05-16, updated = 2021-11-01]
+% \begin{function}[added = 2021-05-16, updated = 2021-11-07]
% {
% \prop_put_from_keyval:Nn, \prop_put_from_keyval:cn,
% \prop_gput_from_keyval:Nn, \prop_gput_from_keyval:cn,
@@ -230,6 +234,8 @@
% \cs{prop_concat:NNN}. In particular, the \meta{keys} and
% \meta{values} are space-trimmed and unbraced as described in
% \cs{prop_set_from_keyval:Nn}.
+% This function correctly detects the |=| and |,| signs provided they
+% have the standard category code~$12$ or they are active.
% \end{function}
%
% \section{Recovering values from property lists}
More information about the latex3-commits
mailing list.