From e57f18e4efd59b6dfa590000b4edf3cd61afc546 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 30 Oct 2020 21:00:46 +0000 Subject: firstaid (30oct20) git-svn-id: svn://tug.org/texlive/trunk@56812 c570f23f-e606-0410-a88d-b1316a301751 --- .../firstaid/latex2e-first-aid-for-external-files.ltx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/firstaid') 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'. -- cgit v1.2.3