summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hpdftex.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hpdftex.def14
1 files changed, 5 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
index 53dc7d7d091..92b897eb473 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hpdftex.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hpdftex.def}
- [2009/12/10 v6.79n
+ [2009/12/15 v6.79p
Hyperref driver for pdfTeX]
\let\Hy@PutCatalog\pdfcatalog
\ifHy@pagelabels
@@ -680,21 +680,17 @@
\fi
}{%
\@ifundefined{stockwidth}{%
- \ifdim\paperwidth=\z@
- \else
+ \ifdim\paperwidth>\z@
\setlength{\pdfpagewidth}{\paperwidth}%
\fi
- \ifdim\paperheight=\z@
- \else
+ \ifdim\paperheight>\z@
\setlength{\pdfpageheight}{\paperheight}%
\fi
}{%
- \ifdim\stockwidth=\z@
- \else
+ \ifdim\stockwidth>\z@
\setlength{\pdfpagewidth}{\stockwidth}%
\fi
- \ifdim\stockheight=\z@
- \else
+ \ifdim\stockheight>\z@
\setlength{\pdfpageheight}{\stockheight}%
\fi
}%