Skip to content

Commit

Permalink
Redo the firstaid for index.sty, because the new version will fail wi…
Browse files Browse the repository at this point in the history
…th LaTeX 2025/06/01 - \markboth and \markright should not be redefined (#1653)
  • Loading branch information
FrankMittelbach committed Feb 6, 2025
1 parent baa5656 commit 2357c29
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions required/firstaid/changes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2025-02-06 Frank Mittelbach <[email protected]>

* latex2e-first-aid-for-external-files.dtx (section{The Implementation}):
Add \typeout to indicate that a first aid was applied.

Redo the firstaid for index.sty, because the new version still fails with
LaTeX 2025/06/01 - \markboth and \markright should not be redefined (gh/1653)

2025-01-18 Frank Mittelbach <[email protected]>

* latex2e-first-aid-for-external-files.dtx:
Expand Down
9 changes: 5 additions & 4 deletions required/firstaid/latex2e-first-aid-for-external-files.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
% \end{macrocode}
%
% \begin{macrocode}
\def\LaTeXFirstAidDate{2025/01/25}
\def\LaTeXFirstAidVersion{v1.1k}
\def\LaTeXFirstAidDate{2025/02/06}
\def\LaTeXFirstAidVersion{v1.1l}
% \end{macrocode}
%
% \begin{macrocode}
Expand All @@ -134,7 +134,8 @@
% \begin{macrocode}
\ExplSyntaxOn
\cs_new:Npn\FirstAidNeededT#1#2#3{
\exp_args:Ncx\str_if_eq:onF{ver@#1.#2}{#3}
\exp_args:Ncx\str_if_eq:onTF{ver@#1.#2}{#3}
{ \typeout{==>~ First~ Aid~ for~ #1.#2~ applied! } }
{ \typeout{==>~ First~ Aid~ for~ #1.#2~ no~ longer~ applied!^^J
\@spaces Expected:^^J
\@spaces\@spaces #3^^J
Expand Down Expand Up @@ -785,7 +786,7 @@
% \begin{macrocode}
\ExplSyntaxOn
\AddToHook{package/index/after}[firstaid]{%
\FirstAidNeededT{index}{sty}{2004/01/20~v4.2beta~Improved~index~support~(dmj)}
\FirstAidNeededT{index}{sty}{2025/02/03~ v4.03~ Improved~ index~ support~ (dmj)}
{%
% \end{macrocode}
% The package changes \cs{markboth} and \cs{markright} but this is
Expand Down

0 comments on commit 2357c29

Please sign in to comment.