summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-08-12 21:26:56 +0000
committerKarl Berry <karl@freefriends.org>2012-08-12 21:26:56 +0000
commit2354f7cda49c322d989403d6b8b633df57df70e0 (patch)
treec97962421efdc61fd883a7601fe24c5ea28c426b /Master/texmf-dist/tex/latex/hyperref/hyperref.sty
parentb85c86f188387b89e8bc9c5e596af5c974e0dd06 (diff)
hyperref (12aug12)
git-svn-id: svn://tug.org/texlive/trunk@27375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty19
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
}%