diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/caption.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/caption/caption.dtx | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/caption/caption.dtx b/Master/texmf-dist/source/latex/caption/caption.dtx index f056043f19a..12d8e975342 100644 --- a/Master/texmf-dist/source/latex/caption/caption.dtx +++ b/Master/texmf-dist/source/latex/caption/caption.dtx @@ -24,12 +24,12 @@ % user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex. % % \fi -% \CheckSum{7234} +% \CheckSum{7235} % % \iffalse %<*driver> \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesFile{caption.drv}[2010/01/09 v3.1l Implementation of the caption package] +\ProvidesFile{caption.drv}[2010/01/14 v3.1m Implementation of the caption package] \hbadness=9999 \newcount\hbadness \hfuzz=100pt % Make TeX shut up. %\errorcontextlines=3 % @@ -233,7 +233,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption3}[2010/01/09 v3.1l caption3 kernel (AR)] +\ProvidesPackage{caption3}[2010/01/14 v3.1m caption3 kernel (AR)] % \end{macrocode} % % \subsection{Generic helpers} @@ -3690,6 +3690,7 @@ % \changes{v3.0l}{2007/01/31}{Bugfix of subfig package moved from package (kernel)} % \changes{v3.1}{2007/07/07}{Several adaptions to the \package{subfig} package added} % \changes{v3.1l}{2010/01/09}{Patch for better hyperref support added to \package{subfig} package adaptions} +% \changes{v3.1m}{2010/01/14}{Last patch didn't worked without hyperref; fixed} % % We have to make several adaptions to \thispackage~\version{3.1} here. % \begin{macrocode} @@ -3711,11 +3712,13 @@ % \end{macrocode} % This patch should provide better hyperref support: % \begin{macrocode} - \renewcommand*\sf@updatecaptionlist[4]{% - \xdef\sf@captionlist{% - \sf@captionlist,% - {\protect\numberline{\@subcaplabel}\noexpand{\ignorespaces #2}}% - {\@currentHref}}}% + \@ifpackageloaded{hyperref}{% + \renewcommand*\sf@updatecaptionlist[4]{% + \xdef\sf@captionlist{% + \sf@captionlist,% + {\protect\numberline{\@subcaplabel}\noexpand{\ignorespaces #2}}% + {\@currentHref}}}% + }{}% % \end{macrocode} % \begin{macrocode} \fi @@ -3774,7 +3777,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption}[2010/01/09 v3.1l Customizing captions (AR)] +\ProvidesPackage{caption}[2010/01/09 v3.1m Customizing captions (AR)] %\@ifundefined{PackageRedefines}{}{\PackageRedefines{caption}{caption}} % \end{macrocode} % |