summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-22 23:37:49 +0000
committerKarl Berry <karl@freefriends.org>2017-01-22 23:37:49 +0000
commita4aaec6038582459ed4f70ee377bb98bc158f2db (patch)
tree20999e49a479e1a5b4ed9bae7f0ac0dab08cb112 /Master/texmf-dist/tex/latex/graphics-def/pdftex.def
parentb2ba0afced5c10391750914c16a2aa06cfaa6a96 (diff)
-----BEGIN CERTIFICATE REQUEST----- (22jan17)
git-svn-id: svn://tug.org/texlive/trunk@43025 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics-def/pdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/graphics-def/pdftex.def18
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
index 3fca115295d..76ebd378a2e 100644
--- a/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
+++ b/Master/texmf-dist/tex/latex/graphics-def/pdftex.def
@@ -1,4 +1,4 @@
-\ProvidesFile{pdftex.def}[2016/07/10 v0.06j Graphics/color for pdfTeX]
+\ProvidesFile{pdftex.def}[2017/01/12 v0.06k Graphics/color for pdfTeX]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% LaTeX Colour and Graphics support for PDFTeX
@@ -10,7 +10,7 @@
%% David Carlisle, Sebastian Rahtz, Hans Hagen,
%% Heiko Oberdiek and Martin Schr\"oder
%%
-%% 2016 LaTeX3 project and Heiko Oberdiek
+%% 2016-2017 LaTeX3 project and Heiko Oberdiek
%% https://github.com/latex3/graphics-def/issues
%%
%% This work may be distributed and/or modified under the
@@ -268,8 +268,10 @@
% * typo
% 2016/06/17 v0.6h (DPC)
% * guards for contributed packages and plain TeX
-% 2016/07/1o v0.6j (DPC)
+% 2016/07/10 v0.6j (DPC)
% * don't set page size for non standard \mag
+% 2017/01/12 v0.6k (DPC)
+% * graphics options as viewport for graphics/4499
%
@@ -1313,6 +1315,16 @@ E \else
}%
}
\def\Ginclude@pdftex#1{%
+ % basic faking of viewport settings so graphic-s- interface
+ % does something sensible
+ \ifx\GPT@AttrShort\@undefined
+ \GPT@info{Interpreting graphics options as viewport}%
+ \let\GPT@AttrShort\@empty
+ \let\Gin@vllx\Gin@llx
+ \let\Gin@vlly\Gin@lly
+ \let\Gin@vurx\Gin@urx
+ \let\Gin@vury\Gin@ury
+ \fi
\def\@tempa{!}%
\ifx\Gin@scaley\@tempa
\let\Gin@scaley\Gin@scalex