From 7e93dc7bafd2072a9a5d14cc520007aaf5e4db71 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 25 Jun 2016 22:10:57 +0000 Subject: hyperref (25jun16) git-svn-id: svn://tug.org/texlive/trunk@41539 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/source') 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 @@ %\ProvidesFile{puvnenc.def} %\ProvidesFile{puarenc.def} %\ProvidesFile{psdextra.def} -% [2016/05/21 v6.83p % +% [2016/06/24 v6.83q % % Hypertext links for LaTeX] % Dummy hyperref (SR)] % 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} % -- cgit v1.2.3