diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-01 23:12:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-01 23:12:09 +0000 |
commit | 578c49451ae7c084a1f0e78893798cd090e8e8b6 (patch) | |
tree | 633721f7a3b0325f3eeda42c6af62eb7dae8a7d2 /Master/texmf-dist/tex/latex/hyperref/hyperref.sty | |
parent | 8c9a52b7b8592707848504ed69b7ba02f703ca8a (diff) |
hyperref update (1may10)
git-svn-id: svn://tug.org/texlive/trunk@18073 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.sty | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index 757d8fc1454..2366584c71a 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} \ProvidesPackage{hyperref} - [2010/04/17 v6.80x + [2010/05/01 v6.80z Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -519,6 +519,7 @@ {utf16be}{ascii-print}{% \EdefEscapeString\HyPsd@temp\HyPsd@temp \global\let#1\HyPsd@temp + \HyPsd@EscapeTeX#1% \Hy@unicodefalse }{% \HyPsd@ToBigChars#1% @@ -528,6 +529,7 @@ {utf16be}{pdfdoc}{% \EdefEscapeString\HyPsd@temp\HyPsd@temp \global\let#1\HyPsd@temp + \HyPsd@EscapeTeX#1% \Hy@unicodefalse }{}% \fi @@ -1795,6 +1797,24 @@ \def\HyPsd@StringSubst#1{% \expandafter\HyPsd@Subst\expandafter{\string#1}% } +\begingroup + \lccode`\!=`\%% + \lccode`\|=`\\% + \lccode`\(=`\{% + \lccode`\)=`\}% + \lccode`0=\ltx@zero + \lccode`1=\ltx@zero + \lccode`3=\ltx@zero + \lccode`4=\ltx@zero + \lccode`5=\ltx@zero + \lccode`7=\ltx@zero +\lowercase{\endgroup + \def\HyPsd@EscapeTeX#1{% + \HyPsd@Subst!{|045}#1% + \HyPsd@Subst({|173}#1% + \HyPsd@Subst){|175}#1% + }% +} \def\HyPsd@doxspace#1{% \ifx#1\relax\else \ifx#1.\else @@ -2860,14 +2880,21 @@ \let#1\@empty \fi \ifx#1\@undefined - \edef#1{\the\@temptokena}% + \edef#1{\the\@temptokena}% \else - \toks@\expandafter{#1}% - \edef#1{\the\toks@\the\@temptokena}% + \toks@\expandafter{#1}% + \edef#1{\the\toks@\the\@temptokena}% \fi \@temptokena{}\toks@\@temptokena } \def\HyLang@DeclareLang#1#2#3{% + \@ifpackagewith{babel}{#1}{% + \expandafter\HyLang@addto + \csname extras#1\expandafter\endcsname + \csname HyLang@#2\endcsname + #3% + \@namedef{HyLang@#1@done}{}% + }{}% \begingroup \edef\x##1##2{% \noexpand\ifx##2\relax @@ -2875,8 +2902,11 @@ \noexpand\fi \endgroup \noexpand\define@key{Hyp}{#1}[]{% - \noexpand\HyLang@addto{\noexpand##1}{\noexpand##2}% - #3% + \noexpand\@ifundefined{HyLang@#1@done}{% + \noexpand\HyLang@addto{\noexpand##1}{\noexpand##2}% + #3% + \noexpand\@namedef{HyLang@#1@done}{}% + }{}% }% }% \expandafter\x\csname extras#1\expandafter\endcsname |