diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-25 22:10:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-25 22:10:57 +0000 |
commit | 7e93dc7bafd2072a9a5d14cc520007aaf5e4db71 (patch) | |
tree | 3beb70cc0c9f1ba90fdbc0a67e6059d21d68090f /Master/texmf-dist/source/latex/hyperref | |
parent | ae27a23f9f06830c17b55aa47224a54607700028 (diff) |
hyperref (25jun16)
git-svn-id: svn://tug.org/texlive/trunk@41539 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index da702f474b2..914360705a8 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -48,7 +48,7 @@ %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} %<psdextra>\ProvidesFile{psdextra.def} -%<!none> [2016/05/21 v6.83p % +%<!none> [2016/06/24 v6.83q % %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -11366,8 +11366,13 @@ % \end{macrocode} % % Support for package \texttt{amsthm} (Daniel M\"ullner): +% also \texttt{cleveref}. % \begin{macrocode} \Hy@AtBeginDocument{% +\@ifpackageloaded{cleveref}{% +\let\Hy@savedthm\@thm +\def\@thm{\ifhmode\unskip\fi\Hy@savedthm}% +}{% \@ifpackageloaded{amsthm}{% % \end{macrocode} % Class amsbook uses a different definition of \cs{@thm}, @@ -11508,6 +11513,7 @@ \let\Hy@savedthm\@thm \def\@thm{\ifhmode\unskip\fi\Hy@savedthm}% }% +}% } % \end{macrocode} % |