[latex3-commits] [git/LaTeX3-latex3-pdfresources] splitting: remove preview patch (ed72f2e)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Sep 20 16:02:41 CEST 2020


Repository : https://github.com/latex3/pdfresources
On branch  : splitting
Link       : https://github.com/latex3/pdfresources/commit/ed72f2e1ddf692b0549b3d7c2dcabe5d96251906

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

commit ed72f2e1ddf692b0549b3d7c2dcabe5d96251906
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Sep 20 16:02:41 2020 +0200

    remove preview patch


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

ed72f2e1ddf692b0549b3d7c2dcabe5d96251906
 newpackages/pgfutil-latex.def | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/newpackages/pgfutil-latex.def b/newpackages/pgfutil-latex.def
index 0206e91..1bd557d 100644
--- a/newpackages/pgfutil-latex.def
+++ b/newpackages/pgfutil-latex.def
@@ -8,7 +8,7 @@
 % See the file doc/generic/pgf/licenses/LICENSE for more details.
 
 %%%%%%%%%%%%%%
-\typeout{!!!!!!!!!!!!! patched version of pgfutil-latex.def !!!!!!!!!!!}
+\typeout{!!!!!!!!!!!!! patched version of pgfutil-latex.def 20.09.2020 !!!!!!!!!!!}
 %%%%%%%%%%%%%%
 
 \catcode`\@=11\relax
@@ -219,6 +219,7 @@
 % Preview hack: preview.sty hacks into \shipout (which is ok), but
 % does not honour everyshi.sty (which is not ok). This causes everyshi
 % material to get lost.
+\@ifundefined{AddToHook}{%
 \AtBeginDocument{
     \@ifpackageloaded{preview}{%
         % Ok, package loaded. Swap definitions of everyshi.sty's shipout
@@ -229,7 +230,8 @@
             \let\pr at shipout\@EveryShipout at Shipout%
         \fi
         }{}%
-}
+}}{}
+
 
 % Guess the driver:
 





More information about the latex3-commits mailing list.