[latex3-commits] [git/LaTeX3-latex3-graphics-def] fixpagecolor, master: document white background usage (b92322f)

David Carlisle d.p.carlisle at gmail.com
Sun Aug 30 15:01:35 CEST 2020


Repository : https://github.com/latex3/graphics-def
On branches: fixpagecolor,master
Link       : https://github.com/latex3/graphics-def/commit/b92322f1f3ff6c0603e9e97b7212f789fa2b7321

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

commit b92322f1f3ff6c0603e9e97b7212f789fa2b7321
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Sun Aug 30 14:01:35 2020 +0100

    document white background usage


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

b92322f1f3ff6c0603e9e97b7212f789fa2b7321
 dvipdfmx.def | 1 +
 xetex.def    | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dvipdfmx.def b/dvipdfmx.def
index 250a3af..5a6b8bf 100644
--- a/dvipdfmx.def
+++ b/dvipdfmx.def
@@ -83,6 +83,7 @@
         background \current at color}}
 \def\define at color@named#1#2{%
   \expandafter\let\csname col@#1\endcsname\@nnil}
+% white is special cased as "no background color" by dvipdfmx
 \def\no at page@color{\special{background gray 1}}
 \@ifundefined{Gin at decode}
   {\let\Gin at decode\@empty}
diff --git a/xetex.def b/xetex.def
index 1d7ed4c..588adcc 100644
--- a/xetex.def
+++ b/xetex.def
@@ -83,6 +83,7 @@
         background \current at color}}
 \def\define at color@named#1#2{%
   \expandafter\let\csname col@#1\endcsname\@nnil}
+% white is special cased as "no bacground color" by dvipdfmx
 \def\no at page@color{\special{background gray 1}}
 \@ifundefined{Gin at decode}
   {\let\Gin at decode\@empty}





More information about the latex3-commits mailing list.