[latex3-commits] [git/LaTeX3-latex3-graphics-def] luacolor-fix: use \set at color also for pagecolor so that luacolor works (20e4097)

Ulrike Fischer fischer at troubleshooting-tex.de
Wed May 26 15:07:45 CEST 2021


Repository : https://github.com/latex3/graphics-def
On branch  : luacolor-fix
Link       : https://github.com/latex3/graphics-def/commit/20e40974e8114444e6ed4c16dc7797efb087080b

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

commit 20e40974e8114444e6ed4c16dc7797efb087080b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Wed May 26 15:07:45 2021 +0200

    use \set at color also for pagecolor so that luacolor works


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

20e40974e8114444e6ed4c16dc7797efb087080b
 luatex.def | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/luatex.def b/luatex.def
index a35138a..4be9cc0 100644
--- a/luatex.def
+++ b/luatex.def
@@ -20,7 +20,7 @@
 %% https://github.com/latex3/graphics-def/issues
 %%
 \ProvidesFile{luatex.def}
-  [2020/10/05 v1.2a Graphics/color driver for luatex]
+  [2021/05/26 v1.2b Graphics/color driver for luatex]
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
   \dimen@#1\p@
@@ -146,7 +146,8 @@
       \ifGPT at pagecolor
         \put(-\hoffset,-\pageheight+\voffset)%
           {%
-            \pdfextension colorstack\@pdfcolorstack push{\current at page@color}%
+            \let\current at color\current at page@color
+            \set at color
             \aftergroup\reset at color
             \rule{\pagewidth}{\pageheight}%
           }%





More information about the latex3-commits mailing list.