summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-22 22:35:35 +0000
committerKarl Berry <karl@freefriends.org>2017-06-22 22:35:35 +0000
commitbdb82a6f104d448ea7d31a4f464b8f2af69577ca (patch)
treef7417e221b9dbdfdf45ebb653d27101fa98b04b4 /Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
parent4f5198bb01193573ab5a6bb085aec64d95b8f9a3 (diff)
graphics-def (21jun17)
git-svn-id: svn://tug.org/texlive/trunk@44668 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def61
1 files changed, 31 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def b/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
index 81ecec4a549..ac79fd45281 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/dvipdfmx.def
@@ -16,7 +16,8 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvipdfmx.def}
- [2017/06/14 v5.0e Graphics/color driver for dvipdfmx]
+ [2017/06/20 v5.0f Graphics/color driver for dvipdfmx]
+\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -99,8 +100,8 @@
\ifeof\@inputcheck
\immediate\openin\@inputcheck=%
"|extractbb %
- \ifx\Gin@page\@empty\else -p \Gin@page\space\fi
- \ifx\Gin@pagebox\@empty\else -B \Gin@pagebox\space\fi
+ \ifx\Gin@page\@empty\else -p \Gin@page\GPT@space\fi
+ \ifx\Gin@pagebox\@empty\else -B \Gin@pagebox\GPT@space\fi
-O \Gin@base\Gin@ext"%
\fi
\Gread@true
@@ -137,15 +138,15 @@
\Gin@log{<#1>}%
\bgroup
\def\@tempa{!}%
- \special{pdf:#2\space
- \ifx\Gin@page\@empty\else page\space\Gin@page\space\fi
- \ifx\Gin@pagebox\@empty\else pagebox\space\Gin@pagebox\space\fi
- bbox\space\Gin@llx\space\Gin@lly\space\Gin@urx\space\Gin@ury\space
- clip\space\ifGin@clip 1\else 0\fi\space
- \ifx\Gin@scalex\@tempa\else width\space\the\Gin@req@width\space\fi
- \ifx\Gin@scaley\@tempa\else height\space\the\Gin@req@height\space\fi
- (#1)\space
- \ifGin@interpolate<</Interpolate\space true>>\fi}%
+ \special{pdf:#2\GPT@space
+ \ifx\Gin@page\@empty\else page\GPT@space\Gin@page\GPT@space\fi
+ \ifx\Gin@pagebox\@empty\else pagebox\GPT@space\Gin@pagebox\GPT@space\fi
+ bbox\GPT@space\Gin@llx\GPT@space\Gin@lly\GPT@space\Gin@urx\GPT@space\Gin@ury\GPT@space
+ clip\GPT@space\ifGin@clip 1\else 0\fi\GPT@space
+ \ifx\Gin@scalex\@tempa\else width\GPT@space\the\Gin@req@width\GPT@space\fi
+ \ifx\Gin@scaley\@tempa\else height\GPT@space\the\Gin@req@height\GPT@space\fi
+ (#1)\GPT@space
+ \ifGin@interpolate<</Interpolate\GPT@space true>>\fi}%
\egroup}
\newif\if@trim@vport
\def\Ginclude@eps#1{%
@@ -170,15 +171,15 @@
\divide\dimen@\dimen@ii
\@tempdima\Gin@req@height
\divide\@tempdima\dimen@ii
- \special{PSfile="#1"\space
+ \special{PSfile="#1"\GPT@space
\if@trim@vport
- llx=\Gin@vllx\space
- lly=\Gin@vlly\space
+ llx=\Gin@vllx\GPT@space
+ lly=\Gin@vlly\GPT@space
\fi
- urx=\Gin@urx\space
- ury=\Gin@ury\space
- \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi
- \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi
+ urx=\Gin@urx\GPT@space
+ ury=\Gin@ury\GPT@space
+ \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\GPT@space\fi
+ \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\GPT@space\fi
\ifGin@clip clip\fi}%
\egroup}
%
@@ -204,13 +205,13 @@
\divide\dimen@\dimen@ii
\@tempdima\Gin@req@height
\divide\@tempdima\dimen@ii
- \special{PSfile="#1"\space
- llx=\Gin@llx\space
- lly=\Gin@lly\space
- urx=\Gin@urx\space
- ury=\Gin@ury\space
- \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\space\fi
- \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\space\fi
+ \special{PSfile="#1"\GPT@space
+ llx=\Gin@llx\GPT@space
+ lly=\Gin@lly\GPT@space
+ urx=\Gin@urx\GPT@space
+ ury=\Gin@ury\GPT@space
+ \ifx\Gin@scalex\@tempa\else rwi=\number\dimen@\GPT@space\fi
+ \ifx\Gin@scaley\@tempa\else rhi=\number\@tempdima\GPT@space\fi
\ifGin@clip clip\fi}%
\egroup}
%
@@ -223,16 +224,16 @@
\ifx\kanjiskip\@undefined
\def\Gscale@start{%
\special{pdf:btrans}%
- \special{x:scale \Gscale@x\space\Gscale@y}%
+ \special{x:scale \Gscale@x\GPT@space\Gscale@y}%
}
\else
\edef\Gscale@start{%
\special{pdf:btrans}%
\special{x:scale
\expandafter\noexpand\csname iftdir\endcsname
- \noexpand\Gscale@y\noexpand\space\noexpand\Gscale@x
+ \noexpand\Gscale@y\noexpand\GPT@space\noexpand\Gscale@x
\expandafter\noexpand\csname else\endcsname
- \noexpand\Gscale@x\noexpand\space\noexpand\Gscale@y
+ \noexpand\Gscale@x\noexpand\GPT@space\noexpand\Gscale@y
\expandafter\noexpand\csname fi\endcsname}}
\fi
%
@@ -312,7 +313,7 @@
}%
\ifdim\paperwidth>\z@
\ifdim\paperheight>\z@
-\special{pdf:pagesize width \the\paperwidth\space height \the\paperheight}%
+\special{pdf:pagesize width \the\paperwidth\GPT@space height \the\paperheight}%
\fi
\fi
\endgroup}%