summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty42
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