[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Add code documentation (432e8130)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Sep 1 22:17:07 CEST 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/432e81305d912c8eee3574b61efb590c324aa91e

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

commit 432e81305d912c8eee3574b61efb590c324aa91e
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Tue Aug 30 21:18:33 2022 -0300

    Add code documentation


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

432e81305d912c8eee3574b61efb590c324aa91e
 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.