summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-02-10 00:49:08 +0000
committerKarl Berry <karl@freefriends.org>2010-02-10 00:49:08 +0000
commit88ee5fb86acbe8391a263f418f14d3d15526ac72 (patch)
treed042cd1733e8d16731c7d2a055347e8f306b5520 /Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
parentaf944596cbc6c9f16923cd293ee9a1b0ed699fdd (diff)
hyperref update (9feb10)
git-svn-id: svn://tug.org/texlive/trunk@16953 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/nohyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/nohyperref.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
index 3fbfa8858d3..b16926a8efb 100644
--- a/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/nohyperref.sty
@@ -30,8 +30,9 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{nohyperref}
- [2010/01/25 v6.80d
+ [2010/02/08 v6.80e
Dummy hyperref (SR)]
+\RequirePackage{letltxmacro}[2008/06/13]
\let\hyper@@anchor\@gobble
\def\hyper@link#1#2#3{#3}%
\let\hyper@anchorstart\@gobble
@@ -61,12 +62,12 @@
}
\long\def\@gobbleopt[#1]{}
\let\hyperpage\@empty
-\let\NoHy@OrgRef\ref
-\def\ref{%
+\LetLtxMacro\NoHy@OrgRef\ref
+\DeclareRobustCommand*{\ref}{%
\@ifstar\NoHy@OrgRef\NoHy@OrgRef
}
-\let\NoHy@OrgPageRef\pageref
-\def\pageref{%
+\LetLtxMacro\NoHy@OrgPageRef\pageref
+\DeclareRobustCommand*{\pageref}{%
\@ifstar\NoHy@OrgPageRef\NoHy@OrgPageRef
}
\endinput