diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx')
-rw-r--r-- | Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx b/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx index fe06663390f..be7833fcd6e 100644 --- a/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx +++ b/Master/texmf-dist/tex/latex/firstaid/latex2e-first-aid-for-external-files.ltx @@ -33,8 +33,8 @@ %% File: latex2e-first-aid-for-external-files.dtx (C) Copyright 2020 %% The LaTeX Project and any individual authors listed elsewhere %% in this file. -\def\LaTeXFirstAidDate{2020/10/25} -\def\LaTeXFirstAidVersion{v1.0g} +\def\LaTeXFirstAidDate{2020/10/29} +\def\LaTeXFirstAidVersion{v1.0h} \ProvidesFile{latex2e-first-aid-for-external-files.ltx} [\LaTeXFirstAidDate\space \LaTeXFirstAidVersion\space LaTeX kernel fixes to external files and packages] @@ -63,6 +63,20 @@ \FirstAidNeededT{dinbrief}{cls}{2000/03/02 LaTeX2e class}% {\AddToHook{env/document/begin}{\begingroup}}% } +\ExplSyntaxOn +\AddToHook{file/after/pgfpages.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 +} +\ExplSyntaxOff +\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 +} +\ExplSyntaxOff \endinput %% %% End of file `latex2e-first-aid-for-external-files.ltx'. |