texlive[44619] Master/texmf-dist: graphics-def (16jun17)
commits+karl at tug.org
commits+karl at tug.org
Sat Jun 17 00:09:24 CEST 2017
Revision: 44619
http://tug.org/svn/texlive?view=revision&revision=44619
Author: karl
Date: 2017-06-17 00:09:24 +0200 (Sat, 17 Jun 2017)
Log Message:
-----------
graphics-def (16jun17)
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-16 22:08:52 UTC (rev 44618)
+++ trunk/Master/texmf-dist/doc/latex/graphics-def/README.md 2017-06-16 22:09:24 UTC (rev 44619)
@@ -1,7 +1,7 @@
LaTeX support for color and graphics
====================================
-Release 2017-06-14
+Release 2017-06-15
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-16 22:08:52 UTC (rev 44618)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def 2017-06-16 22:09:24 UTC (rev 44619)
@@ -16,7 +16,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvipdfmx.def}
- [2017/06/14 v5.0d Graphics/color driver for dvipdfmx]
+ [2017/06/14 v5.0e Graphics/color driver for dvipdfmx]
\def\c at lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -293,13 +293,6 @@
\@namedef{Gin at rule@.eps.gz}#1{{eps}{.eps.xbb}{`gunzip -c #1}}
%
\@namedef{Gin at rule@*}#1{{eps}{\Gin at ext}{#1}}
-
-
-% v4.10
-% Support new (no)setpagesize option of graphics and color.
-% v4.11
-% Use \special{pdf:pagesize ...} instead of \special{papersize=...}
-% to support \mag (dvipdfmx only)
\@ifundefined{ifGin at setpagesize}
{\expandafter\let\csname ifGin at setpagesize\expandafter\endcsname
\csname iftrue\endcsname}
Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def 2017-06-16 22:08:52 UTC (rev 44618)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/luatex.def 2017-06-16 22:09:24 UTC (rev 44619)
@@ -18,7 +18,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{luatex.def}
- [2017/06/12 v1.0b Graphics/color driver for luatex]
+ [2017/06/14 v1.0c Graphics/color driver for luatex]
\def\c at lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -74,7 +74,7 @@
\def\set at page@color{%
\GPT at pagecolortrue
\global\let\current at page@color\current at color
- \ifundefined{GPT at outputbox}{%
+ \@ifundefined{GPT at outputbox}{%
% \newbox is outer in plain
\csname newbox\endcsname\GPT at outputbox
}{}%
Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def 2017-06-16 22:08:52 UTC (rev 44618)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/pdftex.def 2017-06-16 22:09:24 UTC (rev 44619)
@@ -18,7 +18,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{pdftex.def}
- [2017/06/12 v1.0b Graphics/color driver for pdftex]
+ [2017/06/15 v1.0d Graphics/color driver for pdftex]
\def\c at lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -81,7 +81,7 @@
\def\set at page@color{%
\GPT at pagecolortrue
\global\let\current at page@color\current at color
- \ifundefined{GPT at outputbox}{%
+ \@ifundefined{GPT at outputbox}{%
% \newbox is outer in plain
\csname newbox\endcsname\GPT at outputbox
}{}%
@@ -485,7 +485,7 @@
\fi
\def\Gin at extensions{%
.pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,%
- .PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2
+ .PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2%
}
\@namedef{Gin at rule@.jpg}#1{{jpg}{.jpg}{#1}}
\@namedef{Gin at rule@.jpeg}#1{{jpg}{.jpeg}{#1}}
Modified: trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def
===================================================================
--- trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def 2017-06-16 22:08:52 UTC (rev 44618)
+++ trunk/Master/texmf-dist/tex/latex/graphics-def/xetex.def 2017-06-16 22:09:24 UTC (rev 44619)
@@ -16,7 +16,7 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{xetex.def}
- [2017/06/14 v5.0c Graphics/color driver for xetex]
+ [2017/06/14 v5.0d Graphics/color driver for xetex]
\def\c at lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -387,13 +387,6 @@
\@namedef{Gin at rule@.eps.gz}#1{{eps}{.eps.xbb}{`gunzip -c #1}}
%
\@namedef{Gin at rule@*}#1{{eps}{\Gin at ext}{#1}}
-
-
-% v4.10
-% Support new (no)setpagesize option of graphics and color.
-% v4.11
-% Use \special{pdf:pagesize ...} instead of \special{papersize=...}
-% to support \mag (xetex only)
\@ifundefined{ifGin at setpagesize}
{\expandafter\let\csname ifGin at setpagesize\expandafter\endcsname
\csname iftrue\endcsname}
@@ -404,20 +397,25 @@
% If a package has changed \mag, assume it knows what it is doing
% and leave page size alone
\ifnum\mag=\@m
-\AtBeginDvi{%
-\begingroup
- \@ifundefined{stockwidth}{}
- {%
- \paperwidth\stockwidth
- \paperheight\stockheight
- }%
-\ifdim\paperwidth>\z@
-\ifdim\paperheight>\z@
-\special{pdf:pagesize width \the\paperwidth\space height \the\paperheight}%
+\@ifundefined{stockwidth}{%
+\@ifundefined{paperwidth}{%
+}{%
+\ifdim\paperwidth>0pt\relax
+\ifdim\paperheight>0pt\relax
+\pdfpagewidth=\paperwidth
+\pdfpageheight=\paperheight
\fi
\fi
-\endgroup}%
+}%
+}{%
+\ifdim\stockwidth>0pt\relax
+\ifdim\stockheight>0pt\relax
+\pdfpagewidth=\stockwidth
+\pdfpageheight=\stockheight
\fi
+\fi
+}%
+\fi
}
\fi
\fi
More information about the tex-live-commits
mailing list