summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/luatex.def5
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/pdftex.def5
2 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/luatex.def b/Master/texmf-dist/tex/latex/graphics-def/luatex.def
index 04d36213612..a35138a9857 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/luatex.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/luatex.def
@@ -20,7 +20,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{luatex.def}
- [2020/08/26 v1.2 Graphics/color driver for luatex]
+ [2020/10/05 v1.2a Graphics/color driver for luatex]
\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -139,6 +139,7 @@
\def\set@page@color{%
\global\GPT@pagecolortrue
\global\let\current@page@color\current@color
+ \IfHookEmptyTF{shipout/background}{\AddToHook{shipout/background}{\relax}}{}%
}%
\g@addto@macro\@kernel@before@shipout@background
{%
@@ -151,7 +152,7 @@
}%
\fi
}%
- }%
+ }{}%
}
\AtBeginDocument{%
\def\KV@Gin@bbllx{%
diff --git a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
index ac6ca6fe487..e9fd01833bd 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
@@ -20,7 +20,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{pdftex.def}
- [2020/08/26 v1.2 Graphics/color driver for pdftex]
+ [2020/10/05 v1.2a Graphics/color driver for pdftex]
\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
@@ -154,6 +154,7 @@ E \else
\def\set@page@color{%
\global\GPT@pagecolortrue
\global\let\current@page@color\current@color
+ \IfHookEmptyTF{shipout/background}{\AddToHook{shipout/background}{\relax}}{}%
}%
\g@addto@macro\@kernel@before@shipout@background
{%
@@ -166,7 +167,7 @@ E \else
}%
\fi
}%
- }%
+ }{}%
}
\AtBeginDocument{%
\def\KV@Gin@bbllx{%