summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/hyperref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx31
1 files changed, 10 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index 492b5f23207..69b68e8b6d2 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -21,7 +21,7 @@
%% The list of all files belonging to the `Hyperref Bundle' is
%% given in the file `manifest.txt'.
%%
-%<package|nohyperref|driver|check>\NeedsTeXFormat{LaTeX2e}
+%<package|nohyperref|driver|check>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
%<package>\ProvidesPackage{hyperref}
%<nohyperref>\ProvidesPackage{nohyperref}
%<driver>\ProvidesFile{hyperref.drv}
@@ -44,7 +44,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2011/04/09 v6.82f %
+%<!none> [2011/04/17 v6.82g %
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -139,7 +139,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{28544}
+% \CheckSum{28513}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -577,27 +577,15 @@
% |\protected@write|, and it defines commands in options; and the page
% setup internal code changed at that point. It'll probably break
% with the later releases!
+%
+% Use package |hobsub-hyperref| for faster package loading.
% \begin{macrocode}
-\RequirePackage{ltxcmds}[2010/04/26]
-\@ifpackagelater{ltxcmds}{2010/10/25}{}{%
- \long\def\ltx@LocalAppendToMacro#1#2{%
- \global\let\LTXcmds@gtemp#1%
- \ifx\ltx@undefined\LTXcmds@gtemp
- \global\let\LTXcmds@gtemp\ltx@empty
- \else
- \ifx\relax\LTXcmds@gtemp
- \global\letLTXcmds@gtemp\ltx@empty
- \fi
- \fi
- \begingroup
- \toks0\expandafter{\LTXcmds@gtemp#2}%
- \xdef\LTXcmds@gtemp{\the\toks0}%
- \endgroup
- \let#1\LTXcmds@gtemp
- }%
-}
+\IfFileExists{hobsub-hyperref.sty}{%
+ \RequirePackage{hobsub-hyperref}[2011/01/30]%
+}{}
% \end{macrocode}
% \begin{macrocode}
+\RequirePackage{ltxcmds}[2010/10/25]
\RequirePackage{ifpdf}[2006/02/20]
\RequirePackage{pdftexcmds}[2009/04/10]
\@ifpackagelater{pdftexcmds}{2010/11/04}{}{%
@@ -13916,6 +13904,7 @@
\def\Hy@undefinedname{UNDEFINED}
\def\hyper@linkstart#1#2{%
\Hy@VerboseLinkStart{#1}{#2}%
+ \leavevmode
\Hy@BeginAnnot{%
\protected@edef\Hy@testname{#2}%
\ifx\Hy@testname\@empty