[latex3-commits] [latex3/latex2e] firstaid/acro: further firstaid for acro (2f552019)

github at latex-project.org github at latex-project.org
Mon Mar 18 12:55:09 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : firstaid/acro
Link       : https://github.com/latex3/latex2e/commit/2f5520199cda3988f7c1bc4692478e24146758b5

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

commit 2f5520199cda3988f7c1bc4692478e24146758b5
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Mar 18 12:55:09 2024 +0100

    further firstaid for acro


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

2f5520199cda3988f7c1bc4692478e24146758b5
 required/firstaid/changes.txt                      | 27 +++++++++++++---------
 .../latex2e-first-aid-for-external-files.dtx       | 26 ++++++++++++++++-----
 2 files changed, 36 insertions(+), 17 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 6e53f7f0..9d14a66b 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,8 +1,14 @@
+2024-03-18  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx:
+	add first aid for acro to not patch longtable (never worked in
+	the past, but now errors)
+
 2024-02-29  Joseph Wright  <Joseph.Wright at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
-      - add firstaid for acro to declare a temporary prop
-      - add firstaid for chemformula to load l3keys2e
+      - add first aid for acro to declare a temporary prop
+      - add first aid for chemformula to load l3keys2e
       - add chemnum for acro to declare a temporary prop
 
 2023-09-20  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
@@ -11,17 +17,16 @@
       make the active char protected and safe for use in csnames.
 
 2023-07-18  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
-	* latex2e-first-aid-for-external-files.dtx: remove no longer needed code for 
-      everysel
-	* latex2e-first-aid-for-external-files.dtx: remove no longer needed code for bidi 
 	* latex2e-first-aid-for-external-files.dtx:
-      remove no longer needed code for memoir/stockheight 
+	remove no longer needed code for  everysel
+	remove no longer needed code for bidi
+	remove no longer needed code for memoir/stockheight
 
 2023-05-20  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx: removed temporary fix for
-      GitHub issue 591, unneeded now and it breaks for luatex the fix for gh 989
-      (minipage/list spacing) 
+	GitHub issue 591, unneeded now and it breaks for luatex the fix for gh 989
+	(minipage/list spacing)
 
 2022-12-06  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
@@ -38,17 +43,17 @@
 	* latex2e-first-aid-for-external-files.dtx (subsection{The unicode-math package first aid}):
 	A first aid for unicode-math used together with the doc package.
 
-2022-10-27	Joseph Wright <Joseph.Wright at latex-project.org>
+2022-10-27 Joseph Wright <Joseph.Wright at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
 	Much easier babel patch
 
-2022-10-27	Joseph Wright <Joseph.Wright at latex-project.org>
+2022-10-27 Joseph Wright <Joseph.Wright at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
 	Add first aid for babel to undo a no-longer required patch
 
-2022-10-03	Joseph Wright <Joseph.Wright at latex-project.org>
+2022-10-03 Joseph Wright <Joseph.Wright at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx:
 	Add first aid for memoir to support kernel-provided
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 2317c051..a0cb733f 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: latex2e-first-aid-for-external-files.dtx (C) Copyright 2020-2023
+%% File: latex2e-first-aid-for-external-files.dtx (C) Copyright 2020-2024
 %%
 %% The LaTeX Project and any individual authors listed elsewhere
 %% in this file.
@@ -111,8 +111,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2024/02/29}
-\def\LaTeXFirstAidVersion{v1.1c}
+\def\LaTeXFirstAidDate{2024/03/18}
+\def\LaTeXFirstAidVersion{v1.1d}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -612,8 +612,21 @@
 %    routines in \pkg{expl3}.
 %    \begin{macrocode}
 \AddToHook{package/acro/after}[firstaid]{%
-  \FirstAidNeededT{acro}{sty}{2022/04/01 v3.8 typeset acronyms and other abbreviations (CN)}
-    {\UseName{prop_new:c}{l__acro_tmpa_prop}}%
+  \FirstAidNeededT{acro}{sty}{2022/04/01 v3.8 typeset acronyms
+                              and other abbreviations (CN)}
+     {\UseName{prop_new:c}{l__acro_tmpa_prop}%
+%    \end{macrocode}
+%    With the 2024 June release of \LaTeX{} it will also fail to patch
+%    \cs{endlongtable} and therefore errors when loading. However, the
+%    patch it tries never worked (because it was setting a local
+%    boolean at a point where  it was more or less immediately
+%    reset). Thus, rather than fixing the patch approach (which
+%    requires to surround the patch with \cs{ExplSyntaxOn}
+%    \verb*/\catcode`\ =10 / and \cs{ExplSyntaxOff}) we simply disable
+%    the patch for now.
+%    \begin{macrocode}
+       \acsetup{patch/longtable=false}%
+     }%
 }
 %    \end{macrocode}
 %
@@ -636,7 +649,8 @@
 %    routines in \pkg{expl3}.
 %    \begin{macrocode}
 \AddToHook{package/chemnum/after}[firstaid]{%
-  \FirstAidNeededT{chemnum}{sty}{2021/01/21 v1.3a a comprehensive approach for the numbering of chemical compounds (CN)}
+  \FirstAidNeededT{chemnum}{sty}{2021/01/21 v1.3a a comprehensive
+             approach for the numbering of chemical compounds (CN)}
     {\UseName{prop_new:c}{l__chemnum_tmpa_prop}}%
 }
 %    \end{macrocode}





More information about the latex3-commits mailing list.