summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-14 18:35:36 +0000
committerKarl Berry <karl@freefriends.org>2010-05-14 18:35:36 +0000
commitb4fbd468b2e7696563334ef41be837c4cc1d5013 (patch)
tree98c9d3c9571585670ddee30dfc0cb194b4e96d7b /Master/texmf-dist/tex/latex/hyperref/hyperref.sty
parenta05bc549cf27a46b25bb95fcaf9176bd84f0d7a7 (diff)
hyperref update (12may10)
git-svn-id: svn://tug.org/texlive/trunk@18260 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.sty54
1 files changed, 40 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index 9463f402317..ed78ba3e6aa 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/05/04 v6.81a
+ [2010/05/13 v6.81e
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -306,8 +306,14 @@
\def\newline{\pdfstringdefWarn\newline}%
\def\TeX{TeX}%
\def\LaTeX{La\TeX}%
- \def\LaTeXe{\LaTeX2e}%
- \def\eTeX{e-\TeX}%
+ \def\LaTeXe{%
+ \LaTeX2%
+ \ifHy@unicode\textepsilon\else e\fi
+ }%
+ \def\eTeX{%
+ \ifHy@unicode\textepsilon\else e\fi
+ -\TeX%
+ }%
\def\SliTeX{Sli\TeX}%
\def\MF{Metafont}%
\def\MP{Metapost}%
@@ -2490,6 +2496,7 @@
}%
}%
}
+\def\hypersetup{\setkeys{Hyp}}
\newif\ifHy@setpdfversion
\define@key{Hyp}{pdfversion}{%
\@ifundefined{Hy@pdfversion@#1}{%
@@ -2892,7 +2899,11 @@
\expandafter\HyLang@addto
\csname extras#1\expandafter\endcsname
\csname HyLang@#2\endcsname
- #3%
+ \begingroup
+ \edef\x{\endgroup
+ #3%
+ }%
+ \x
\@namedef{HyLang@#1@done}{}%
}{}%
\begingroup
@@ -3536,7 +3547,6 @@
\endgroup
}
\def\HyInd@EncapChar{\|}
-\def\hypersetup{\setkeys{Hyp}}
\let\hyper@normalise\ExecuteOptions
\let\ExecuteOptions\hypersetup
\Hy@RestoreCatcodes
@@ -5627,6 +5637,24 @@
\xdef\Hy@chapapp{\Hy@appendixstring}%
\HyOrg@appendix
}
+\def\Hy@Test@alph#1{%
+ \ifcase#1\or
+ a\or b\or c\or d\or e\or f\or g\or h\or i\or j\or
+ k\or l\or m\or n\or o\or p\or q\or r\or s\or t\or
+ u\or v\or w\or x\or y\or z%
+ \else
+ \@ctrerr
+ \fi
+}
+\def\Hy@Test@Alph#1{%
+ \ifcase#1\or
+ A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or
+ K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or
+ U\or V\or W\or X\or Y\or Z%
+ \else
+ \@ctrerr
+ \fi
+}
\def\hyper@makecurrent#1{%
\begingroup
\edef\Hy@param{#1}%
@@ -5635,16 +5663,14 @@
\fi
\ifHy@hypertexnames
\let\@number\@firstofone
- \@ifundefined{latin@Alph}{}{%
- \ifx\@Alph\greek@Alph
- \def\@Alph{Alph\@arabic}%
- \fi
- }%
- \ifx\@Alph\@Alph@bul
- \def\@Alph{Alph\@arabic}%
+ \def\@fnsymbol##1{fnsymbol\number##1}%
+ \ifx\@alph\Hy@Test@alph
+ \else
+ \def\@alph{alph\number}%
\fi
- \ifx\@alph\@alph@bul
- \def\@alph{alph\@arabic}%
+ \ifx\@Alph\Hy@Test@Alph
+ \else
+ \def\@Alph{Alph\number}%
\fi
\ifHy@naturalnames
\let\textlatin\@firstofone