[latex3-commits] [latex3/latex2e] cmd-args: Step file version (edf83324)

github at latex-project.org github at latex-project.org
Mon May 22 03:38:29 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : cmd-args
Link       : https://github.com/latex3/latex2e/commit/edf833247e651a169068b060c5bea20cbf98c9ed

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

commit edf833247e651a169068b060c5bea20cbf98c9ed
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun May 21 22:38:29 2023 -0300

    Step file version


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

edf833247e651a169068b060c5bea20cbf98c9ed
 base/ltcmdhooks.dtx | 10 ++++++++--
 base/lthooks.dtx    | 16 ++++++++++++++--
 2 files changed, 22 insertions(+), 4 deletions(-)

diff --git a/base/ltcmdhooks.dtx b/base/ltcmdhooks.dtx
index 37620e91..346059c7 100644
--- a/base/ltcmdhooks.dtx
+++ b/base/ltcmdhooks.dtx
@@ -14,8 +14,8 @@
 %
 %%% From File: ltcmdhooks.dtx
 %
-\def\ltcmdhooksversion{v1.0g}
-\def\ltcmdhooksdate{2023/04/06}
+\def\ltcmdhooksversion{v1.0h}
+\def\ltcmdhooksdate{2023/05/21}
 %
 %
 %
@@ -956,6 +956,8 @@
 %   calling \cs{@@_make_usable:nn} are enough to redefine the hook to
 %   the extent we want.  Code stored in the hook and other metadata
 %   about it are not lost in the process.
+% \changes{v1.0h}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
     \@@_disable:n { cmd / #3 / #4 }
     \cs_undefine:c { c_@@_cmd / #3 / #4_parameter_tl }
@@ -1465,6 +1467,8 @@
 %   sequential.  This macro assumes that all parameters are marked with
 %   hashes, and not other characters, and that there is no
 %   \enquote{trick parameter}.
+% \changes{v1.0h}{2023/05/21}
+%         {Macro added (cmd-args).}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2023/06/01}{\@@_guess_arg_count:NN}
 %<latexrelease>                 {cmd~hooks~with~args}
@@ -1511,6 +1515,8 @@
   {
 %   Here, when patching by retokenization, we can only guess the number
 %   of arguments of the macro.
+% \changes{v1.0h}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
     \@@_guess_arg_count:NN #1 \l_@@_patch_num_args_int
 %    \end{macrocode}
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 079f60da..c0efe2c9 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
 %%% From File: lthooks.dtx
 %
 %    \begin{macrocode}
-\def\lthooksversion{v1.1c}
-\def\lthooksdate{2023/04/19}
+\def\lthooksversion{v1.1d}
+\def\lthooksdate{2023/05/21}
 %    \end{macrocode}
 %
 %<*driver>
@@ -2714,6 +2714,8 @@
 %   \cs{hook_new:n}, and if it already exists we complain, otherwise set
 %   the \enquote{created} flag for the hook so that it errors next time
 %   \cs{hook_new:n} is used.
+% \changes{v1.1d}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
     \@@_if_declared:nTF {#1}
       { \msg_error:nnn { hooks } { exists } {#1} }
@@ -2830,6 +2832,8 @@
 %    labels (once it got sorted). This is used only for debugging.
 %    These are defined conditionally, in case \cs{@@_make_usable:nn}
 %    is being used to redefine a hook.
+% \changes{v1.1d}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
         \clist_if_exist:cF { g_@@_#1_labels_clist }
           {
@@ -3823,6 +3827,8 @@
 %   \cs{hook_gput_next_code:nn} if the generic hook was declared, or
 %   to \cs{@@_gput_next_do:nn} otherwise.
 % \changes{v1.0p}{2021/08/25}{Standardise generic hook names (gh/648)}
+% \changes{v1.1d}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2023/06/01}{\@@_try_declaring_generic_hook:nnn}
 %<latexrelease>                 {Hooks~with~args}
@@ -3932,6 +3938,8 @@
 %    For some commands this will not be possible, in which case
 %    \cs{@@_patch_cmd_or_delay:Nnn} (defined in \texttt{ltcmdhooks})
 %    will generate an appropriate error message.
+% \changes{v1.1d}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
             \str_if_eq:nnT {#1} { cmd }
               {
@@ -4282,6 +4290,8 @@
 %   }
 %   Token lists defining the number of arguments for a given type of
 %   generic hook.
+% \changes{v1.1d}{2023/05/21}
+%         {Token lists added (cmd-args).}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2023/06/01}{\c_@@_parameter_cmd/./before_tl}
 %<latexrelease>                 {Hooks~with~args}
@@ -6988,6 +6998,8 @@
 % \begin{macro}[pTF]{\@@_if_cmd_hook:w}
 %   An internal conditional that checks if a given hook is a valid
 %   generic \hook{cmd} hook.
+% \changes{v1.1d}{2023/05/21}
+%         {Changes to allow support arguments in cmd hooks (cmd-args).}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2023/06/01}{\@@_if_cmd_hook:n}
 %<latexrelease>                 {Hooks~with~args}





More information about the latex3-commits mailing list.