[latex3-commits] [latex3/latex2e] cleanup-firstaid: remove firstaid for memoir (dc695914)

github at latex-project.org github at latex-project.org
Tue Jul 18 21:03:33 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : cleanup-firstaid
Link       : https://github.com/latex3/latex2e/commit/dc695914260da5d82580527eeee041bed84f4b48

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

commit dc695914260da5d82580527eeee041bed84f4b48
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jul 18 21:03:33 2023 +0200

    remove firstaid for memoir


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

dc695914260da5d82580527eeee041bed84f4b48
 required/firstaid/changes.txt                      |  2 ++
 .../latex2e-first-aid-for-external-files.dtx       | 25 ----------------------
 2 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index c7efb81b..17d8f9ac 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -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 at latex-project.org>
 
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 8754d500..d1eeaf5c 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -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 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}
-%
-%
-%
-%
 %    \begin{macrocode}
 %</kernel>
 %    \end{macrocode}





More information about the latex3-commits mailing list.