[latex3-commits] [git/LaTeX3-latex3-latex2e] hotfix/pgfmorepages: always do the patch (until the kernel has an interface) (8c7d6d49)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Oct 29 11:51:55 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : hotfix/pgfmorepages
Link       : https://github.com/latex3/latex2e/commit/8c7d6d4919361c3bb5605f3b089ab089471153bb

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

commit 8c7d6d4919361c3bb5605f3b089ab089471153bb
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Oct 29 11:51:55 2020 +0100

    always do the patch (until the kernel has an interface)


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

8c7d6d4919361c3bb5605f3b089ab089471153bb
 .../firstaid/latex2e-first-aid-for-external-files.dtx | 19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 97d8a4be..384242e8 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -361,11 +361,10 @@
 %    \begin{macrocode}
 \ExplSyntaxOn
 \AddToHook{file/after/pgfpages.sty}[firstaid]{%
-  \FirstAidNeededT{pgfpages}{sty}{2011/01/05~ ver~ 0.02}{%
 %    \end{macrocode}
 %    Undo overwriting \cs{shipout}:
 %    \begin{macrocode}
-    \cs_gset_eq:NN \shipout \pgfpages at originalshipout 
+  \cs_gset_eq:NN \shipout \pgfpages at originalshipout 
 %    \end{macrocode}
 %    Instead overwrite the L3 programming layer name of the
 %    primitive. This is really an absolute no-go, but for now the
@@ -378,27 +377,25 @@
 %    past and which we do below) and then this code here can be taken
 %    out again.
 %    \begin{macrocode}
-    \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D
-    \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout
-  }%
+  \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D
+  \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout
 }
 \ExplSyntaxOff
 %    \end{macrocode}
 %
-% Same issue with \pkg{pgfmorepages}, sigh.
+% Same issue with \pkg{pgfmorepages}.
 %
 %    \begin{macrocode}
 \ExplSyntaxOn
 \AddToHook{file/after/pgfmorepages.sty}[firstaid]{%
-  \FirstAidNeededT{pgfmorepages}{sty}{2020/04/16 v1.20 multiple page manipulation}{%
-    \cs_gset_eq:NN \shipout \pgfpages at originalshipout 
-    \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D
-    \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout
-  }%
+  \cs_gset_eq:NN \shipout \pgfpages at originalshipout 
+  \cs_set_eq:NN \pgfpages at originalshipout \tex_shipout:D
+  \cs_set_eq:NN \tex_shipout:D \pgfpages at interceptshipout
 }
 \ExplSyntaxOff
 %    \end{macrocode}
 %
+%
 % \subsection[Temporary fixes for the kernel (until the next
 %             patch-level release)]
 %    {Temporary fixes for the kernel \\





More information about the latex3-commits mailing list.