texlive[64594] Master/texmf-dist: latex-firstaid-dev (3oct22)
commits+karl at tug.org
commits+karl at tug.org
Mon Oct 3 22:28:52 CEST 2022
Revision: 64594
http://tug.org/svn/texlive?view=revision&revision=64594
Author: karl
Date: 2022-10-03 22:28:51 +0200 (Mon, 03 Oct 2022)
Log Message:
-----------
latex-firstaid-dev (3oct22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf
trunk/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx
trunk/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx
Modified: trunk/Master/texmf-dist/doc/latex-dev/firstaid/latex2e-first-aid-for-external-files.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx 2022-10-03 20:28:21 UTC (rev 64593)
+++ trunk/Master/texmf-dist/source/latex-dev/firstaid/latex2e-first-aid-for-external-files.dtx 2022-10-03 20:28:51 UTC (rev 64594)
@@ -111,8 +111,8 @@
% \end{macrocode}
%
% \begin{macrocode}
-\def\LaTeXFirstAidDate{2022/02/20}
-\def\LaTeXFirstAidVersion{v1.0r}
+\def\LaTeXFirstAidDate{2022/06/23}
+\def\LaTeXFirstAidVersion{v1.0s}
% \end{macrocode}
%
% \begin{macrocode}
@@ -586,7 +586,28 @@
% \end{macrocode}
%
%
+% \subsection{First aid for \pkg{memoir}}
%
+% The introduction of \cs{stockheight} and \cs{stockwidth} into the
+% kernel requires some first aid. This has to go in \emph{before}
+% loading the class, so we cannot check the version string here.
+% \begin{macrocode}
+\AddToHook{file/memoir.cls/before}[firstaid]{%
+ \expandafter\def\expandafter\@tempa\string\dimen{}%
+ \edef\kernel at stockheight{\expandafter\@tempa\meaning\stockheight}%
+ \edef\kernel at stockwidth{\expandafter\@tempa\meaning\stockwidth}%
+ \let\stockheight\@undefined
+ \let\stockwidth\@undefined
+}
+\AddToHook{file/memoir.cls/after}[firstaid]{%
+ \dimen\kernel at stockheight=\stockheight
+ \dimen\kernel at stockwidth=\stockwidth
+ \dimendef\stockheight=\kernel at stockheight
+ \dimendef\stockwidth=\kernel at stockwidth
+}
+% \end{macrocode}
+%
+%
% \subsection[Temporary fixes for the kernel (until the next
% patch-level release)]
% {Temporary fixes for the kernel \\
Modified: trunk/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx
===================================================================
--- trunk/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx 2022-10-03 20:28:21 UTC (rev 64593)
+++ trunk/Master/texmf-dist/tex/latex-dev/firstaid/latex2e-first-aid-for-external-files.ltx 2022-10-03 20:28:51 UTC (rev 64594)
@@ -34,8 +34,8 @@
%%
%% The LaTeX Project and any individual authors listed elsewhere
%% in this file.
-\def\LaTeXFirstAidDate{2022/02/20}
-\def\LaTeXFirstAidVersion{v1.0r}
+\def\LaTeXFirstAidDate{2022/06/23}
+\def\LaTeXFirstAidVersion{v1.0s}
\ProvidesFile{latex2e-first-aid-for-external-files.ltx}
[\LaTeXFirstAidDate\space \LaTeXFirstAidVersion\space
LaTeX kernel fixes to external files and packages]
@@ -131,6 +131,19 @@
\ngermanTeX
}%
}
+\AddToHook{file/memoir.cls/before}[firstaid]{%
+ \expandafter\def\expandafter\@tempa\string\dimen{}%
+ \edef\kernel at stockheight{\expandafter\@tempa\meaning\stockheight}%
+ \edef\kernel at stockwidth{\expandafter\@tempa\meaning\stockwidth}%
+ \let\stockheight\@undefined
+ \let\stockwidth\@undefined
+}
+\AddToHook{file/memoir.cls/after}[firstaid]{%
+ \dimen\kernel at stockheight=\stockheight
+ \dimen\kernel at stockwidth=\stockwidth
+ \dimendef\stockheight=\kernel at stockheight
+ \dimendef\stockwidth=\kernel at stockwidth
+}
\ExplSyntaxOn
\sys_if_engine_luatex:T
{
More information about the tex-live-commits
mailing list.