texlive[44697] Master/texmf-dist: graphics-def (25jun17)

commits+karl at tug.org commits+karl at tug.org
Sun Jun 25 23:51:33 CEST 2017


Revision: 44697
          http://tug.org/svn/texlive?view=revision&revision=44697
Author:   karl
Date:     2017-06-25 23:51:33 +0200 (Sun, 25 Jun 2017)
Log Message:
-----------
graphics-def (25jun17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/graphics-def/README.md
    trunk/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
    trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def
    trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
    trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def

Modified: trunk/Master/texmf-dist/doc/latex/graphics-def/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/graphics-def/README.md	2017-06-25 21:51:21 UTC (rev 44696)
+++ trunk/Master/texmf-dist/doc/latex/graphics-def/README.md	2017-06-25 21:51:33 UTC (rev 44697)
@@ -1,7 +1,7 @@
 LaTeX support for color and graphics
 ====================================
 
-Release 2017-06-20
+Release 2017-06-25
 
 This bundle contains the 'engine-dependent' part of support for
 color and graphics in LaTeX2e (the code here will also function

Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def	2017-06-25 21:51:21 UTC (rev 44696)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def	2017-06-25 21:51:33 UTC (rev 44697)
@@ -16,7 +16,7 @@
 %% https://github.com/latex3/graphics-def/issues
 %%
 \ProvidesFile{dvipdfmx.def}
-  [2017/06/20 v5.0f Graphics/color driver for dvipdfmx]
+  [2017/06/24 v5.0g Graphics/color driver for dvipdfmx]
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
   \dimen@#1\p@
@@ -84,6 +84,9 @@
 \def\define at color@named#1#2{%
   \expandafter\let\csname col@#1\endcsname\@nnil}
       \def\no at page@color{\special{background \string"newpath clip}}
+\@ifundefined{Gin at decode}
+  {\let\Gin at decode\@empty}
+  {}
 \@ifundefined{Gin at page}
   {\let\Gin at page\@empty}
   {}
@@ -126,6 +129,7 @@
 }
 \let\Gread at bmp\Gread at pdf
 \def\Ginclude at pdf#1{%
+  \let\Gin at decode\@empty
   \Gin at interpolatefalse
   \Ginclude at dvipdfmx{#1}{epdf}%
 }
@@ -146,7 +150,16 @@
       \ifx\Gin at scalex\@tempa\else width\GPT at space\the\Gin at req@width\GPT at space\fi
       \ifx\Gin at scaley\@tempa\else height\GPT at space\the\Gin at req@height\GPT at space\fi
       (#1)\GPT at space
-      \ifGin at interpolate<</Interpolate\GPT at space true>>\fi}%
+      \ifnum0%
+        \ifx\Gin at decode\@empty\else 1\fi
+        \ifGin at interpolate 1\fi
+        >0 %
+        <<%
+          \ifx\Gin at decode\@empty\else /Decode[\Gin at decode]\fi
+          \ifGin at interpolate /Interpolate true\fi
+        >>%
+      \fi
+    }%
   \egroup}
 \newif\if at trim@vport
 \def\Ginclude at eps#1{%

Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def	2017-06-25 21:51:21 UTC (rev 44696)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def	2017-06-25 21:51:33 UTC (rev 44697)
@@ -18,7 +18,7 @@
 %% https://github.com/latex3/graphics-def/issues
 %%
 \ProvidesFile{luatex.def}
-  [2017/06/20 v1.0e Graphics/color driver for luatex]
+  [2017/06/24 v1.0f Graphics/color driver for luatex]
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
   \dimen@#1\p@
@@ -142,6 +142,9 @@
     }%
 }
 \let\Gin at attr@hash\@empty
+\@ifundefined{Gin at decode}
+  {\let\Gin at decode\@empty}
+  {}
 \@ifundefined{Gin at log}
   {\let\Gin at log\wlog}
   {}
@@ -164,6 +167,9 @@
     \else
       :P\Gin at page
     \fi
+    \ifx\Gin at decode\@empty\else
+      :D[\Gin at decode]%
+    \fi
     \ifGin at interpolate
       :I%
     \fi
@@ -171,7 +177,15 @@
   \@ifundefined{#1 image\Gin at attr@hash}%
     {%
       \saveimageresource
-        \ifGin at interpolate attr{/Interpolate true}\fi
+        \ifnum0%
+          \ifx\Gin at decode\@empty\else 1\fi
+          \ifGin at interpolate 1\fi
+          >0 %
+          attr{%
+            \ifx\Gin at decode\@empty\else/Decode[\Gin at decode]\fi
+            \ifGin at interpolate/Interpolate true\fi
+          }%
+        \fi
         \ifx\Gin at page\@empty\else page \Gin at page\fi
         \Gin at pagebox
         {#1}%
@@ -190,6 +204,7 @@
         id=\the\lastsavedimageresourceindex, %
         \ifx\Gin at page\@empty\else page=\Gin at page , \fi
         \ifx\Gin at pagebox\@empty\else pagebox=\Gin at pagebox , \fi
+        \ifx\Gin at decode\@empty\else decode=[\Gin at decode], \fi
         \ifGin at interpolate interpolate=true, \fi
         \the\wd\@tempboxa\GPT at space x \the\ht\@tempboxa
         >%
@@ -207,6 +222,7 @@
 \let\Gread at jpg\Gread at png
 \expandafter\let\csname Gread at jbig2\endcsname\Gread at png
 \def\Gread at pdf#1{%
+  \let\Gin at decode\@empty
   \Gin at interpolatefalse
   \Gread at pdftex{#1}%
 }

Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def	2017-06-25 21:51:21 UTC (rev 44696)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def	2017-06-25 21:51:33 UTC (rev 44697)
@@ -18,7 +18,7 @@
 %% https://github.com/latex3/graphics-def/issues
 %%
 \ProvidesFile{pdftex.def}
-  [2017/06/20 v1.0f Graphics/color driver for pdftex]
+  [2017/06/24 v1.0g Graphics/color driver for pdftex]
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
   \dimen@#1\p@
@@ -160,6 +160,9 @@
     }%
 }
 \let\Gin at attr@hash\@empty
+\@ifundefined{Gin at decode}
+  {\let\Gin at decode\@empty}
+  {}
 \@ifundefined{Gin at log}
   {\let\Gin at log\wlog}
   {}
@@ -183,6 +186,9 @@
     \else
       :P\Gin at page
     \fi
+    \ifx\Gin at decode\@empty\else
+      :D[\Gin at decode]%
+    \fi
     \ifGin at interpolate
       :I%
     \fi
@@ -190,7 +196,15 @@
   \@ifundefined{#1 image\Gin at attr@hash}%
     {%
       \pdfximage
-        \ifGin at interpolate attr{/Interpolate true}\fi
+        \ifnum0%
+          \ifx\Gin at decode\@empty\else 1\fi
+          \ifGin at interpolate 1\fi
+          >0 %
+          attr{%
+            \ifx\Gin at decode\@empty\else/Decode[\Gin at decode]\fi
+            \ifGin at interpolate/Interpolate true\fi
+          }%
+        \fi
         \ifx\Gin at page\@empty\else page \Gin at page\fi
         \Gin at pagebox
         {#1}%
@@ -209,6 +223,7 @@
         id=\the\pdflastximage, %
         \ifx\Gin at page\@empty\else page=\Gin at page , \fi
         \ifx\Gin at pagebox\@empty\else pagebox=\Gin at pagebox , \fi
+        \ifx\Gin at decode\@empty\else decode=[\Gin at decode], \fi
         \ifGin at interpolate interpolate=true, \fi
         \the\wd\@tempboxa\GPT at space x \the\ht\@tempboxa
         >%
@@ -227,6 +242,7 @@
 \let\Gread at jpg\Gread at png
 \expandafter\let\csname Gread at jbig2\endcsname\Gread at png
 \def\Gread at pdf#1{%
+  \let\Gin at decode\@empty
   \Gin at interpolatefalse
   \Gread at pdftex{#1}%
 }

Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def	2017-06-25 21:51:21 UTC (rev 44696)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def	2017-06-25 21:51:33 UTC (rev 44697)
@@ -16,7 +16,7 @@
 %% https://github.com/latex3/graphics-def/issues
 %%
 \ProvidesFile{xetex.def}
-  [2017/06/20 v5.0g Graphics/color driver for xetex]
+  [2017/06/24 v5.0h Graphics/color driver for xetex]
 \def\GPT at space{ }
 \def\c at lor@arg#1{%
   \dimen@#1\p@
@@ -84,6 +84,9 @@
 \def\define at color@named#1#2{%
   \expandafter\let\csname col@#1\endcsname\@nnil}
       \def\no at page@color{\special{background \string"newpath clip}}
+\@ifundefined{Gin at decode}
+  {\let\Gin at decode\@empty}
+  {}
 \@ifundefined{Gin at page}
   {\let\Gin at page\@empty}
   {}
@@ -94,6 +97,7 @@
   {\csname newif\endcsname\ifGin at interpolate}
   {}
 \def\Gread at pdf#1{%
+  \let\Gin at decode\@empty
   \Gin at interpolatefalse
   \Gread@@xetex\XeTeXpdffile
 }
@@ -239,8 +243,18 @@
       \ifx\Gin at scalex\@tempa\else width\GPT at space\the\Gin at req@width\GPT at space\fi
       \ifx\Gin at scaley\@tempa\else height\GPT at space\the\Gin at req@height\GPT at space\fi
       (#1)\GPT at space
-      \ifGin at interpolate<</Interpolate\GPT at space true>>\fi}%
-  \egroup}
+      \ifnum0%
+        \ifx\Gin at decode\@empty\else 1\fi
+        \ifGin at interpolate 1\fi
+        >0 %
+        <<%
+          \ifx\Gin at decode\@empty\else /Decode[\Gin at decode]\fi
+          \ifGin at interpolate /Interpolate true\fi
+        >>%
+      \fi
+    }%
+  \egroup
+}
 \newif\if at trim@vport
 \def\Ginclude at eps#1{%
   \Gin at log{<#1>}%



More information about the tex-live-commits mailing list