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/source/latex/hyperref/hyperref.dtx | |
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/source/latex/hyperref/hyperref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 81 |
1 files changed, 59 insertions, 22 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 404e2e080ec..229d9900ef6 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -44,7 +44,7 @@ %<puenc>\ProvidesFile{puenc.def} %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} -%<!none> [2010/05/13 v6.81e +%<!none> [2010/06/04 v6.81f %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -126,7 +126,7 @@ \end{document} %</driver> % \fi -% \CheckSum{27112} +% \CheckSum{27161} % % \MakeShortVerb{|} % \StopEventually{} @@ -1000,6 +1000,7 @@ \fontencoding{PD1}% \def\ifpdfstringunicode##1##2{##2}% \fi + \let\utf@viii@undeferr\HyPsd@utf@viii@undeferr \enc@update % \end{macrocode} % @@ -4123,6 +4124,22 @@ \fi % \end{macrocode} % +% \begin{macro}{\HyPsd@utf@viii@undeferr} +% \cs{utf@viii@undeferr} comes from file |utf8x.def| from +% package |ucs|. +% \begin{macrocode} +\def\HyPsd@utf@viii@undeferr#1#2#3#4#5#6{% + \ifx\@gobble#1% + \else + [Please insert \textbackslash PrerenderUnicode% + \textbraceleft#1\textbraceright\space + into preamble]% + \fi +}% +% \end{macrocode} +% \end{macro} +% +% % \section{Support of other packages} % % \subsection{Class memoir} @@ -14474,29 +14491,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}% + \literalps@out{H.R}% \else - \lower\dp\pdf@box\hbox{\literalps@out{H.S}}% - \fi + \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 % \end{macrocode} % If the text has to be horizontal mode stuff then just unbox % the saved box like this, which saves executing it twice, which can % mess up counters etc (thanks DPC\ldots). % \begin{macrocode} - \ifHy@breaklinks - \expandafter\Hy@breaklinksunhbox - \else - \expandafter\box - \fi - \pdf@box + \ifHy@breaklinks + \expandafter\Hy@breaklinksunhbox + \else + \expandafter\box + \fi + \pdf@box % \end{macrocode} % but if it can have multiple paragraphs you'd need one of these, % but in that case the measured box size would be wrong anyway. @@ -14505,10 +14541,11 @@ % |\ifHy@breaklinks{#1}\else\box\pdf@box\fi| % \end{quote} % \begin{macrocode} - \ifdim\dimen@=\z@ - \literalps@out{H.R}% - \else - \raise\dimen@\hbox{\literalps@out{H.R}}% + \ifdim\dimen@=\z@ + \literalps@out{H.R}% + \else + \raise\dimen@\hbox{\literalps@out{H.R}}% + \fi \fi \ifx\pdf@type\Hy@DEST \else |