diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hyperref.sty | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty index f7ff162d602..4c549108d26 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{hyperref} - [2009/02/22 v6.78p + [2009/04/04 v6.78q Hypertext links for LaTeX] \begingroup \@makeother\`% @@ -318,7 +318,12 @@ \let\small\@empty \let\tiny\@empty \let\mathversion\@gobble + \let\phantom\@gobble + \let\vphantom\@gobble + \let\hphantom\@gobble \def\textcolor##1##{\@secondoftwo}% + \def\MakeUppercase{\MakeUppercaseIsNotSupportedInPdfStrings}% + \def\MakeLowercase{\MakeLowercaseIsNotSupportedInPdfStrings}% \let\textlatin\@firstofone \@ifundefined{language@group}{}{% \csname HyPsd@babel@\language@group\endcsname @@ -351,6 +356,7 @@ \let\leavevmode\@empty \let\mbox\@empty \def\halign{\pdfstringdefWarn\halign\@gobble}% + \let\ignorespaces\HyPsd@ignorespaces \ifHy@CJKbookmarks \HyPsd@CJKhook \fi @@ -549,6 +555,15 @@ \def\pdfstringdefWarn#1{% \expandafter\noexpand\csname<>-\string#1\endcsname } +\begingroup + \catcode0=12 % + \def\x{\endgroup + \def\HyPsd@ignorespaces{% + \romannumeral\expandafter`\expandafter^^@% + \romannumeral`^^@% + }% + }% +\x \newif\ifHy@next \@ifundefined{danish@sh@"@sel}{}{% \def\HyPsd@babel@danish{% @@ -1682,7 +1697,10 @@ }% \def\Hy@boolkey{\@dblarg\Hy@@boolkey} \def\Hy@@boolkey[#1]#2#3{% - \lowercase{\def\Hy@tempa{#3}}% + \edef\Hy@tempa{#3}% + \lowercase\expandafter{% + \expandafter\def\expandafter\Hy@tempa\expandafter{\Hy@tempa}% + }% \ifx\Hy@tempa\@empty \let\Hy@tempa\Hy@true \fi @@ -2144,7 +2162,10 @@ \fi } \define@key{Hyp}{pagebackref}[true]{% - \lowercase{\def\Hy@tempa{#1}}% + \edef\Hy@tempa{#1}% + \lowercase\expandafter{% + \expandafter\def\expandafter\Hy@tempa\expandafter{\Hy@tempa}% + }% \ifx\Hy@tempa\@empty \let\Hy@tempa\Hy@true \fi |