summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-16 00:54:43 +0000
committerKarl Berry <karl@freefriends.org>2009-12-16 00:54:43 +0000
commit266ba94198bf87cad9d0e5618c09f1ceac410c97 (patch)
treee39e34e412bbad804bacd72d6eb7e53ed59b7ee7 /Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
parent5d71e79720301a8f2d96c9e573d4ff8bbc7a2b74 (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/hdvipdfm.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def19
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
index a1990827965..c8b98a996d2 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipdfm.def}
- [2009/12/10 v6.79n
+ [2009/12/15 v6.79p
Hyperref driver for dvipdfm]
\def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}}
\ifHy@pagelabels
@@ -529,15 +529,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
@@ -545,7 +546,7 @@
\Hy@DisableOption{setpagesize}%
}
\def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum
- \typeout{Sorry, dvipdfm does not support FORM gauges}%
+ \typeout{Sorry, dvipdfm/XeTeX does not support FORM gauges}%
}
\def\@Form[#1]{%
\@ifundefined{textcolor}{\let\textcolor\@gobble}{}%