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.sty19
1 files changed, 17 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index fb6092d9578..fc34d2b1768 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}
- [2008/07/23 v6.78e
+ [2008/08/14 v6.78f
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -5706,7 +5706,22 @@
\fi
\Hy@DisableOption{hyperindex}
\Hy@DisableOption{encap}
-\def\hyperpage#1{\@hyperpage#1----\\}
+\def\nohyperpage#1{#1}
+\def\hyperpage#1{%
+ \HyInd@hyperpage#1\nohyperpage{}\@nil
+}
+\def\HyInd@hyperpage#1\nohyperpage#2#3\@nil{%
+ \HyInd@@hyperpage{#1}%
+ #2%
+ \def\Hy@temp{#3}%
+ \ifx\Hy@temp\@empty
+ \else
+ \Hy@ReturnAfterFi{%
+ \HyInd@hyperpage#3\@nil
+ }%
+ \fi
+}
+\def\HyInd@@hyperpage#1{\@hyperpage#1----\\}
\def\@hyperpage#1--#2--#3\\{%
\ifx\\#2\\%
\@commahyperpage{#1}%