summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def/dvips.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/dvips.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/dvips.def')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/dvips.def27
1 files changed, 14 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/dvips.def b/Master/texmf-dist/tex/latex/graphics-def/dvips.def
index 3af9c8ea3b1..204ec642933 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/dvips.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/dvips.def
@@ -17,7 +17,8 @@
%% https://github.com/latex3/graphics-def/issues
%%
\ProvidesFile{dvips.def}
- [2017/06/14 v3.1c Graphics/color driver for dvips]
+ [2017/06/20 v3.1d Graphics/color driver for dvips]
+\def\GPT@space{ }
\def\c@lor@arg#1{%
\dimen@#1\p@
\ifdim\dimen@<\z@\dimen@\maxdimen\fi
@@ -93,13 +94,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}
\def\Ginclude@bmp#1{%
@@ -122,20 +123,20 @@
\dimen@1bp%
\divide\Gin@req@width\dimen@
\divide\Gin@req@height\dimen@
- \special{#1=#2\space
- \@width=\number\Gin@req@width \space
+ \special{#1=#2\GPT@space
+ \@width=\number\Gin@req@width \GPT@space
\@height=\number\Gin@req@height}}
\def\Ginclude@pntg{\oztex@include{pntg}}
\def\Ginclude@pict{\oztex@include{pict}}
\def\Grot@start{%
\special{ps: gsave currentpoint
- currentpoint translate \Grot@angle\space neg
+ currentpoint translate \Grot@angle\GPT@space neg
rotate neg exch neg exch translate}}
\def\Grot@end{\special{ps: currentpoint grestore moveto}}
\def\Gscale@start{\special{ps: currentpoint currentpoint translate
- \Gscale@x\space \Gscale@y\space scale neg exch neg exch translate}}
+ \Gscale@x\GPT@space \Gscale@y\GPT@space scale neg exch neg exch translate}}
\def\Gscale@end{\special{ps: currentpoint currentpoint translate
- 1 \Gscale@x\space div 1 \Gscale@y\space div scale
+ 1 \Gscale@x\GPT@space div 1 \Gscale@y\GPT@space div scale
neg exch neg exch translate}}
\def\Gin@PS@raw#1{\special{ps: #1}}
\def\Gin@PS@restored#1{\special{" #1}}