diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-16 00:54:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-16 00:54:43 +0000 |
commit | 266ba94198bf87cad9d0e5618c09f1ceac410c97 (patch) | |
tree | e39e34e412bbad804bacd72d6eb7e53ed59b7ee7 /Master/texmf-dist/tex/latex/hyperref/hdvips.def | |
parent | 5d71e79720301a8f2d96c9e573d4ff8bbc7a2b74 (diff) |
hyperref update (15dec09)
git-svn-id: svn://tug.org/texlive/trunk@16418 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvips.def | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 22b56e992a6..a9a45cdc943 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvips.def} - [2009/12/10 v6.79n + [2009/12/15 v6.79p Hyperref driver for dvips] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} @@ -87,15 +87,16 @@ \ifHy@setpagesize \begingroup \@ifundefined{stockwidth}{% - \ifx\special@paper\@empty - \special{papersize=\the\paperwidth,\the\paperheight}% - \else - \special{papersize=\special@paper}% + \ifdim\paperwidth>\z@ + \ifdim\paperheight>\z@ + \special{papersize=\the\paperwidth,\the\paperheight}% + \fi \fi }{% - \ifdim\stockwidth=\z@ - \else - \special{papersize=\the\stockwidth,\the\stockheight}% + \ifdim\stockwidth>\z@ + \ifdim\stockheight>\z@ + \special{papersize=\the\stockwidth,\the\stockheight}% + \fi \fi }% \endgroup |