[latex3-commits] [latex3/latex3] main: Documentation improvements in l3prop (e57dc319f)
github at latex-project.org
github at latex-project.org
Tue Feb 13 15:20:08 CET 2024
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/e57dc319f0d0d3ebbfe23067120665b51dd346dd
>---------------------------------------------------------------
commit e57dc319f0d0d3ebbfe23067120665b51dd346dd
Author: Bruno Le Floch <blflatex at gmail.com>
Date: Mon Feb 12 13:22:13 2024 +0100
Documentation improvements in l3prop
>---------------------------------------------------------------
e57dc319f0d0d3ebbfe23067120665b51dd346dd
l3kernel/l3prop.dtx | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/l3kernel/l3prop.dtx b/l3kernel/l3prop.dtx
index 3eeeb046a..674d09bd6 100644
--- a/l3kernel/l3prop.dtx
+++ b/l3kernel/l3prop.dtx
@@ -64,7 +64,9 @@
%
% Property lists are intended for storing key-based information for use within
% code. They can be converted from and to key--value lists, which are a form of
-% \emph{input} parsed by the \pkg{l3keys} module.
+% \emph{input} parsed by the \pkg{l3keys} module. If a key--value list contains
+% a \meta{key} multiple times, only the last \meta{value} associated to it will
+% be kept in the conversion to a property list.
%
% Internally, property lists can use two distinct implementations with different
% data storage, which are decided when declaring the property list variable
@@ -137,6 +139,10 @@
% Ensures that the \meta{property list} exists globally by applying
% \cs{prop_new:N} if necessary, then applies
% \cs[index=prop_clear:N]{prop_(g)clear:N} to leave the list empty.
+% \begin{texnote}
+% If the property list exists and is of \enquote{linked} type, it
+% is cleared but not made into a flat property list.
+% \end{texnote}
% \end{function}
%
% \begin{function}[added = 2024-01-15]
@@ -150,6 +156,10 @@
% Ensures that the \meta{property list} exists globally by applying
% \cs{prop_new_linked:N} if necessary, then applies
% \cs[index=prop_clear:N]{prop_(g)clear:N} to leave the list empty.
+% \begin{texnote}
+% If the property list exists and is of \enquote{flat} type, it
+% is cleared but not made into a linked property list.
+% \end{texnote}
% \end{function}
%
% \begin{function}
More information about the latex3-commits
mailing list.