[latex3-commits] [latex3/latex2e] gh1544: add missing expandafter (d9a0103be)

github at latex-project.org github at latex-project.org
Fri Nov 8 16:22:09 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : gh1544
Link       : https://github.com/latex3/latex2e/commit/d9a0103be17f0aa5ef0fb353f7675e378a229379

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

commit d9a0103be17f0aa5ef0fb353f7675e378a229379
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Fri Nov 8 16:22:09 2024 +0100

    add missing expandafter


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

d9a0103be17f0aa5ef0fb353f7675e378a229379
 required/firstaid/changes.txt                              | 4 ++++
 required/firstaid/latex2e-first-aid-for-external-files.dtx | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 3cdb776ef..2519b63e2 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,7 @@
+2024-11-08  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx: add missing \expandafter for issue #1544
+
 2024-11-04  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx: correct spurious space
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 111c88c21..8cb022601 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -111,8 +111,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2024/11/04}
-\def\LaTeXFirstAidVersion{v1.1h}
+\def\LaTeXFirstAidDate{2024/11/08}
+\def\LaTeXFirstAidVersion{v1.1i}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -719,6 +719,7 @@
           } 
 %    \end{macrocode}
 % \changes{v1.1g}{2024/10/16}{update cleveref data in label hook}
+% \changes{v1.1i}{2024/11/08}{add expandafter, issue \#1544}
 % cleveref patches and redefines \cs{refstepcounter} so that a call updates its data.
 % This fails if like e.g. in \pkg{longtable} the counter is stepped with 
 % \cs{@kernel at refstepcounter}. We therefore move the data setup into the label hook.
@@ -733,7 +734,7 @@
            {\def\@tempa{\csname cref@#1 at alias\endcsname}}%
          \protected at xdef\cref at gcurrentlabel@temp{%
            [\@tempa][\arabic{#1}][\cref at result]%
-           \csname p@#1\endcsname\csname the#1\endcsname}%
+           \csname p@#1\expandafter\endcsname\csname the#1\endcsname}%
          \aftergroup\firstaid at cref@smugglelabel
            }
 %    \end{macrocode}





More information about the latex3-commits mailing list.