[latex3-commits] [latex3/latex3] main: Sort key info holders in order path, key, and value (e39476a49)

github at latex-project.org github at latex-project.org
Sun Oct 15 21:14:48 CEST 2023


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

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

commit e39476a495e453320ae3cadc751afa4c173d6027
Author: Yukai Chou <muzimuzhi at gmail.com>
Date:   Sun Oct 15 15:21:13 2023 +0800

    Sort key info holders in order path, key, and value


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

e39476a495e453320ae3cadc751afa4c173d6027
 l3kernel/l3keys.dtx | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/l3kernel/l3keys.dtx b/l3kernel/l3keys.dtx
index 95ddcd0a3..0f0a4790e 100644
--- a/l3kernel/l3keys.dtx
+++ b/l3kernel/l3keys.dtx
@@ -740,16 +740,12 @@
 % \end{function}
 %
 % \begin{variable}[updated = 2020-02-08]
-%   {\l_keys_key_str, \l_keys_path_str, \l_keys_value_tl}
+%   {\l_keys_path_str, \l_keys_key_str, \l_keys_value_tl}
 %   For each key processed, information of the full \emph{path} of the
 %   key, the \emph{name} of the key and the \emph{value} of the key is
 %   available within two string and one token list variables.
 %   These may be used within the code of the key.
 %
-%   The \emph{value} is everything after the \texttt{=}, which may be
-%   empty if no value was given. This is stored in \cs{l_keys_value_tl}, and
-%   is not processed in any way by \cs{keys_set:nn}.
-%
 %   The \emph{path} of the key is a \enquote{full} description of the key,
 %   and is unique for each key. It consists of the module and full key name,
 %   thus for example
@@ -767,6 +763,10 @@
 %   \texttt{/}, and thus is not unique. In the preceding examples, both keys
 %   have name \texttt{key-a} despite having different paths.  This information
 %   is stored in \cs{l_keys_key_str}.
+%
+%   The \emph{value} is everything after the \texttt{=}, which may be
+%   empty if no value was given. This is stored in \cs{l_keys_value_tl}, and
+%   is not processed in any way by \cs{keys_set:nn}.
 % \end{variable}
 %
 % \section{Handling of unknown keys}





More information about the latex3-commits mailing list.