[latex3-commits] [latex3/latex2e] develop: Correct expansion of \@@_print_args:nn argument (42b77b49)

github at latex-project.org github at latex-project.org
Wed Jan 3 14:52:11 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/42b77b498c6d5de2ede0e353dd8ba84f8794de25

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

commit 42b77b498c6d5de2ede0e353dd8ba84f8794de25
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Wed Jan 3 10:02:06 2024 -0300

    Correct expansion of \@@_print_args:nn argument
    
    Fixes #1221


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

42b77b498c6d5de2ede0e353dd8ba84f8794de25
 base/changes.txt | 6 +++++-
 base/lthooks.dtx | 8 +++++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index 2fecc824..adc25687 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,10 @@ to completeness or accuracy and it contains some references to files that are
 not part of the distribution.
 ================================================================================
 
+2024-01-03  Phelype Oleinik  <phelype.oleinik at latex-project.org>
+	* lthooks.dtx:
+	Correct expansion of \@@_print_args:nn argument (gh/1221).
+
 2023-12-30  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 	* doc.dtx (subsection{Macros surrounding the `definition parts'}):
 	Use \@noligs from the LaTeX kernel, so that the upquote
@@ -189,7 +193,7 @@ All changes above are only part of the development branch for the next release.
 	* ltfiles.dtx
 	Allow for pipes in \input, etc.
 
-2023-06-16  Phelype Oleinik  <Joseph.Wright at latex-project.org>
+2023-06-16  Phelype Oleinik  <phelype.oleinik at latex-project.org>
 
 	* lthooks.dtx, ltcmdhooks.dtx
 	Correct some rollback labels and dates.
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 55bc7395..f29864b0 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
 %%% From File: lthooks.dtx
 %
 %    \begin{macrocode}
-\def\lthooksversion{v1.1f}
-\def\lthooksdate{2023/12/26}
+\def\lthooksversion{v1.1g}
+\def\lthooksdate{2024/01/03}
 %    \end{macrocode}
 %
 %<*driver>
@@ -6010,6 +6010,8 @@
 %
 % \changes{v1.1a}{2023/04/06}
 %         {Changes to add hook arguments (hook-args).}
+% \changes{v1.1g}{2024/01/03}
+%         {Fix expansion of \cs{@@_print_args:nn} argument (gh/1221).}
 %    \begin{macrocode}
 %<latexrelease>\IncludeInRelease{2023/06/01}{\@@_log:nN}
 %<latexrelease>                 {Hooks~with~args}
@@ -6029,7 +6031,7 @@
         hook~'#1'
         \@@_if_disabled:nF {#1}
           {
-            \exp_args:Nf \@@_print_args:nn {#1}
+            \exp_args:Nne \@@_print_args:nn {#1}
               {
                 \int_eval:n
                   { \str_count:e { \@@_parameter:n {#1} } / 3 }





More information about the latex3-commits mailing list.