diff options
author | Karl Berry <karl@freefriends.org> | 2012-05-13 22:54:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-05-13 22:54:44 +0000 |
commit | c12ee6df6627c6092ccb757bad0c8f4a97c1dd6a (patch) | |
tree | 1589989ff42b3e10910de527e3c82253f1879211 /Master/texmf-dist/source | |
parent | 99033febb965ae8211c278e37852a490cb829de2 (diff) |
hyperref
git-svn-id: svn://tug.org/texlive/trunk@26331 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 1b8912eb6ed..d0c67fdf5ec 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> [2012/02/28 v6.82p % +%<!none> [2012/05/13 v6.82q % %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -145,7 +145,7 @@ \end{document} %</driver> % \fi -% \CheckSum{28743} +% \CheckSum{28746} % % \MakeShortVerb{|} % \StopEventually{} @@ -11005,8 +11005,24 @@ % of the float, if the float is controlled by float.sty. % Several \verb|\caption| commands inside one float are % not supported. +% +% \cs{HyNew@float@makebox} is introduced as feature request +% of Axel Sommerfeldt to make the life easier for his +% package `caption'. % \begin{macrocode} \let\Hy@float@caption\@caption +\newcommand{\HyNew@float@makebox}[1]{% + \HyOrg@float@makebox{% + #1\relax + \ifx\Hy@float@currentHref\@undefined + \else + \expandafter\hyper@@anchor\expandafter{% + \Hy@float@currentHref + }{\relax}% + \global\let\Hy@float@currentHref\@undefined + \fi + }% +}% \@ifpackageloaded{float}{% \def\Hy@float@caption{% \ifx\Hy@float@currentHref\@undefined @@ -11018,18 +11034,7 @@ \float@caption }% \let\HyOrg@float@makebox\float@makebox - \renewcommand{\float@makebox}[1]{% - \HyOrg@float@makebox{% - #1\relax - \ifx\Hy@float@currentHref\@undefined - \else - \expandafter\hyper@@anchor\expandafter{% - \Hy@float@currentHref - }{\relax}% - \global\let\Hy@float@currentHref\@undefined - \fi - }% - }% + \let\float@makebox\HyNew@float@makebox }{} % \end{macrocode} % |