Skip to content

Commit

Permalink
further firstaid for acro
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankMittelbach committed Mar 18, 2024
1 parent 2211389 commit 2f55201
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 22 deletions.
37 changes: 21 additions & 16 deletions required/firstaid/changes.txt
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
2024-03-18 Frank Mittelbach <Frank.Mittelbach@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@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@latex-project.org>

* latex2e-first-aid-for-external-files.dtx: add firstaid for underscore to
* latex2e-first-aid-for-external-files.dtx: add firstaid for underscore to
make the active char protected and safe for use in csnames.

2023-07-18 Ulrike Fischer <Ulrike.Fischer@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

* latex2e-first-aid-for-external-files.dtx:
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@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)
* 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)

2022-12-06 Ulrike Fischer <Ulrike.Fischer@latex-project.org>

Expand All @@ -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@latex-project.org>
2022-10-27 Joseph Wright <Joseph.Wright@latex-project.org>

* latex2e-first-aid-for-external-files.dtx:
Much easier babel patch

2022-10-27 Joseph Wright <Joseph.Wright@latex-project.org>
2022-10-27 Joseph Wright <Joseph.Wright@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@latex-project.org>
2022-10-03 Joseph Wright <Joseph.Wright@latex-project.org>

* latex2e-first-aid-for-external-files.dtx:
Add first aid for memoir to support kernel-provided
Expand Down
26 changes: 20 additions & 6 deletions required/firstaid/latex2e-first-aid-for-external-files.dtx
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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}
Expand Down Expand Up @@ -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}
%
Expand All @@ -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}
Expand Down

0 comments on commit 2f55201

Please sign in to comment.