summaryrefslogtreecommitdiff
path: root/macros/latex/required/firstaid
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/required/firstaid')
-rw-r--r--macros/latex/required/firstaid/changes.txt6
-rw-r--r--macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx17
-rw-r--r--macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdfbin215614 -> 201643 bytes
3 files changed, 15 insertions, 8 deletions
diff --git a/macros/latex/required/firstaid/changes.txt b/macros/latex/required/firstaid/changes.txt
index d149c92299..5d70ebc2cb 100644
--- a/macros/latex/required/firstaid/changes.txt
+++ b/macros/latex/required/firstaid/changes.txt
@@ -1,3 +1,9 @@
+2020-12-14 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
+
+ * latex2e-first-aid-for-external-files.dtx:
+ bandage for pgfmorepages got detached, so need to adjust the first
+ aid (gh/455)
+
2020-10-29 Frank Mittelbach <Frank.Mittelbach@latex-project.org>
* latex2e-first-aid-for-external-files.dtx:
diff --git a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx
index 384242e82c..9dcedaf435 100644
--- a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -30,7 +30,7 @@
%
% \providecommand\pkg[1]{\texttt{#1}}
%
-% \title{First aid for external files and packages that need updating\thanks{}}
+% \title{First aid for external files and packages that need updating}
% \author{Frank Mittelbach, \LaTeX{} Project}
%
% \maketitle
@@ -110,8 +110,8 @@
% \end{macrocode}
%
% \begin{macrocode}
-\def\LaTeXFirstAidDate{2020/10/29}
-\def\LaTeXFirstAidVersion{v1.0h}
+\def\LaTeXFirstAidDate{2020/12/14}
+\def\LaTeXFirstAidVersion{v1.0i}
% \end{macrocode}
%
% \begin{macrocode}
@@ -383,14 +383,15 @@
\ExplSyntaxOff
% \end{macrocode}
%
-% Same issue with \pkg{pgfmorepages}.
+% Same issue with \pkg{pgfmorepages} but slightly different implementation (sigh).
%
% \begin{macrocode}
\ExplSyntaxOn
-\AddToHook{file/after/pgfmorepages.sty}[firstaid]{%
- \cs_gset_eq:NN \shipout \pgfpages@originalshipout
- \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D
- \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout
+\AddToHook{file/after/pgfmorepages.sty}[firstaid]{
+ \cs_set_nopar:Npn \pgfhookintoshipout {
+ \cs_set_eq:NN \pgfpages@originalshipout \tex_shipout:D
+ \cs_set_eq:NN \tex_shipout:D \pgfpages@interceptshipout
+ }
}
\ExplSyntaxOff
% \end{macrocode}
diff --git a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf
index 5bd38056bd..6affd3174a 100644
--- a/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf
+++ b/macros/latex/required/firstaid/latex2e-first-aid-for-external-files.pdf
Binary files differ