diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index ddae40e9480..779c9ec31c1 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -30,7 +30,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{hyperref} - [2012/08/03 v6.82y % + [2012/08/11 v6.82z % Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -6515,11 +6515,13 @@ \expandafter\def\csname theH#1\endcsname{}% \def\Hy@temp{\@elt{#1}}% \ltx@onelevel@sanitize\Hy@temp + \let\HyOrg@elt\@elt \edef\@elt{% \noexpand\HyCnt@LookForParentCounter \expandafter\noexpand\csname theH#1\endcsname }% \cl@@ckpt + \let\@elt\HyOrg@elt \expandafter \ltx@LocalAppendToMacro\csname theH#1\expandafter\endcsname \expandafter{% @@ -6529,16 +6531,23 @@ } \def\HyCnt@LookForParentCounter#1#2{% \expandafter\let\expandafter\Hy@temp@A\csname cl@#2\endcsname - \ltx@ifundefined{cl@#2}{% + \ltx@IfUndefined{cl@#2}{% }{% \ltx@onelevel@sanitize\Hy@temp@A \edef\Hy@temp@A{% \noexpand\in@{\Hy@temp}{\Hy@temp@A}% }\Hy@temp@A \ifin@ - \expandafter\ltx@LocalAppendToMacro\expandafter#1% - \expandafter{% - \expandafter\@arabic\csname c@#2\endcsname.% + \ltx@IfUndefined{theH#2}{% + \expandafter\ltx@LocalAppendToMacro\expandafter#1% + \expandafter{% + \expandafter\@arabic\csname c@#2\endcsname.% + }% + }{% + \expandafter\ltx@LocalAppendToMacro\expandafter#1% + \expandafter{% + \csname theH#2\endcsname.% + }% }% \fi }% |