[latex3-commits] [git/LaTeX3-latex3-latex2e] keyval-detect: Add code documentation (1c8ee237)
Joseph Wright
joseph.wright at morningstar2.co.uk
Wed Aug 31 08:27:16 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : keyval-detect
Link : https://github.com/latex3/latex2e/commit/1c8ee237d67a2687a4ab27817c21a0e2e655f2f6
>---------------------------------------------------------------
commit 1c8ee237d67a2687a4ab27817c21a0e2e655f2f6
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date: Tue Aug 30 21:18:33 2022 -0300
Add code documentation
>---------------------------------------------------------------
1c8ee237d67a2687a4ab27817c21a0e2e655f2f6
base/ltcmd.dtx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 1ca9329a..e1944af7 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -4040,7 +4040,12 @@
% with a search for |=| signs. We need an \enquote{action} loop here
% so we do not get mislead by for example |{=}|. As the code here is for
% very much predictable types of input, we hard-code what constitutes
-% math mode opening and closing.
+% math mode opening and closing. At the very beginning, the default
+% key (|#1|) and the argument as given by the user (|#2|) are placed
+% right after the \cs{q_recursion_stop}, so that when the recursion
+% ends, the macros \cs{@@_arg_to_keyvalue_set_default:nn} or
+% \cs{@@_arg_to_keyvalue_set_keyvalue:nn} can be used to grab these
+% two items and set the \cs{ProcessedArgument} accordingly.
% \begin{macrocode}
\cs_new_protected:Npn \@@_arg_to_keyvalue_auxv:nn #1#2
{
More information about the latex3-commits
mailing list.