diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-05 23:37:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-05 23:37:57 +0000 |
commit | 2fcd464d53ad11a64dec8d0116ae15908c1159e4 (patch) | |
tree | 31c493d8b39280220e0b821b4f37d30f39c179e1 /Master/texmf-dist/tex/latex/hyperref/hdviwind.def | |
parent | f177196592b21f2a3e609c86690256b1413aa885 (diff) |
hyperref update (5jun10)
git-svn-id: svn://tug.org/texlive/trunk@18763 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdviwind.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdviwind.def | 60 |
1 files changed, 40 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def index 316afe7f501..4978ff79772 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdviwind.def} - [2010/05/13 v6.81e + [2010/06/04 v6.81f Hyperref driver for dviwindo] \begingroup \@ifundefined{headerps@out}{}{% @@ -449,28 +449,48 @@ \providecommand*{\Hy@breaklinksunhbox}{\unhbox} \def\Hy@DEST{/DEST} \def\pdf@rect#1{% - \leavevmode - \ifHy@breaklinks - \Hy@setouterhbox\pdf@box{\Hy@AllowHyphens#1}% - \else - \sbox\pdf@box{#1}% - \fi - \dimen@\ht\pdf@box - \ifdim\dp\pdf@box=\z@ + \begingroup + \chardef\x=1 % + \def\Hy@temp{#1}% + \ifx\Hy@temp\ltx@empty + \chardef\x=0 % + \else + \def\y{\anchor@spot}% + \ifx\Hy@temp\y + \def\y{\relax}% + \ifx\anchor@spot\y + \chardef\x=0 % + \fi + \fi + \fi + \expandafter\endgroup + \ifcase\x \literalps@out{H.S}% - \else - \lower\dp\pdf@box\hbox{\literalps@out{H.S}}% - \fi - \ifHy@breaklinks - \expandafter\Hy@breaklinksunhbox - \else - \expandafter\box - \fi - \pdf@box - \ifdim\dimen@=\z@ \literalps@out{H.R}% \else - \raise\dimen@\hbox{\literalps@out{H.R}}% + \leavevmode + \ifHy@breaklinks + \Hy@setouterhbox\pdf@box{\Hy@AllowHyphens#1}% + \else + \sbox\pdf@box{#1}% + \fi + \dimen@\ht\pdf@box + \ifdim\dp\pdf@box=\z@ + \literalps@out{H.S}% + \else + \lower\dp\pdf@box\hbox{\literalps@out{H.S}}% + \fi + \ifHy@breaklinks + \expandafter\Hy@breaklinksunhbox + \else + \expandafter\box + \fi + \pdf@box + \ifdim\dimen@=\z@ + \literalps@out{H.R}% + \else + \raise\dimen@\hbox{\literalps@out{H.R}}% + \fi \fi \ifx\pdf@type\Hy@DEST \else |