Skip to content

Commit

Permalink
remove firstaid for memoir
Browse files Browse the repository at this point in the history
  • Loading branch information
u-fischer committed Jul 18, 2023
1 parent 1ec2223 commit dc69591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
2 changes: 2 additions & 0 deletions required/firstaid/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
* 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

2023-05-20 Ulrike Fischer <Ulrike.Fischer@latex-project.org>

Expand Down
25 changes: 0 additions & 25 deletions required/firstaid/latex2e-first-aid-for-external-files.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -560,31 +560,6 @@
}
% \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@stockheight{\expandafter\@tempa\meaning\stockheight}%
\edef\kernel@stockwidth{\expandafter\@tempa\meaning\stockwidth}%
\let\stockheight\@undefined
\let\stockwidth\@undefined
}
\AddToHook{file/memoir.cls/after}[firstaid]{%
\dimen\kernel@stockheight=\stockheight
\dimen\kernel@stockwidth=\stockwidth
\dimendef\stockheight=\kernel@stockheight
\dimendef\stockwidth=\kernel@stockwidth
}
% \end{macrocode}
%
%
%
%
% \begin{macrocode}
%</kernel>
% \end{macrocode}
Expand Down

0 comments on commit dc69591

Please sign in to comment.