diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvips.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvips.def | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def index 95be2d258cb..97fd0d1e531 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/10/19 v6.79b^^a0 + [2009/10/09 v6.79a Hyperref driver for dvips] \providecommand*{\XR@ext}{pdf} \def\Hy@raisedlink{} @@ -83,22 +83,11 @@ } def% }% } -\AtBeginShipoutFirst{% - \ifHy@setpagesize - \begingroup - \@ifundefined{stockwidth}{% - \ifx\special@paper\@empty - \special{papersize=\the\paperwidth,\the\paperheight}% - \else - \special{papersize=\special@paper}% - \fi - }{% - \ifdim\stockwidth=\z@ - \else - \special{papersize=\the\stockwidth,\the\stockheight}% - \fi - }% - \endgroup +\AfterBeginDocument{% + \ifx\special@paper\@empty\else + \ifHy@setpagesize + \special{papersize=\special@paper}% + \fi \fi \Hy@DisableOption{setpagesize}% } |