diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-14 22:40:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-14 22:40:56 +0000 |
commit | 9a1c781313c984e8d5c88b832b1c08e1da3fe155 (patch) | |
tree | ad59e5c1b73eb0145f07342df173ff7868f28815 /Master/texmf-dist/tex/latex/graphics/dvips.def | |
parent | 81e32a209d8d4fdab0d8c6d36edef5da15a894d4 (diff) |
latex2e (14jun16)
git-svn-id: svn://tug.org/texlive/trunk@41447 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/graphics/dvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/graphics/dvips.def | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/graphics/dvips.def b/Master/texmf-dist/tex/latex/graphics/dvips.def index 73bb471c5cf..4794f2cf128 100644 --- a/Master/texmf-dist/tex/latex/graphics/dvips.def +++ b/Master/texmf-dist/tex/latex/graphics/dvips.def @@ -8,7 +8,7 @@ %% %% drivers.dtx Copyright (C) 1994 David Carlisle Sebastian Rahtz %% Copyright (C) 1995 1996 1997 1998 1999 David Carlisle -%% Copyright (C) 2000--2015 David Carlisle, LaTeX3 Project +%% Copyright (C) 2000--2016 David Carlisle, LaTeX3 Project %% %% This file is part of the Standard LaTeX `Graphics Bundle'. %% It may be distributed under the terms of the LaTeX Project Public @@ -16,7 +16,7 @@ %% Either version 1.3 or, at your option, any later version. %% \ProvidesFile{dvips.def} - [2015/12/30 v3.0k Driver-dependent file (DPC,SPQR)] + [2016/06/02 v3.0l Driver-dependent file (DPC,SPQR)] \def\c@lor@arg#1{% \dimen@#1\p@ \ifdim\dimen@<\z@\dimen@\maxdimen\fi @@ -140,6 +140,20 @@ \def\Gin@PS@restored#1{\special{" #1}} \def\Gin@PS@literal@header#1{\AtBeginDvi{\special{! #1}}} \def\Gin@PS@file@header#1{\AtBeginDvi{\special{header=#1}}} +\ifGin@setpagesize + \AtBeginDocument{\AtBeginDvi{% + \begingroup + \ifx\stockwidth\@undefined\else + \paperwidth\stockwidth + \paperheight\stockheight + \fi + \ifdim\paperwidth>\z@ + \ifdim\paperheight>\z@ + \special{papersize=\the\paperwidth,\the\paperheight}% + \fi + \fi + \endgroup}} +\fi \def\Gin@extensions{.eps,.ps,.eps.gz,.ps.gz,.eps.Z,.mps} \@namedef{Gin@rule@.ps}#1{{eps}{.ps}{#1}} \@namedef{Gin@rule@.eps}#1{{eps}{.eps}{#1}} |