diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx b/Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx index 463e9052fa0..f5d5569ed8b 100644 --- a/Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx +++ b/Master/texmf-dist/source/latex/caption/fallback/v3.5/caption.dtx @@ -32,7 +32,7 @@ % caption-deu.tex, caption-eng.tex, caption-rus.tex. % % \fi -% \CheckSum{2702} +% \CheckSum{2703} % % \iffalse %<*driver> @@ -241,7 +241,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption}[2022/03/01 v3.5h Customizing captions (AR)] +\ProvidesPackage{caption}[2022/07/10 v3.5i Customizing captions (AR)] % \end{macrocode} % % \section{Loading the kernel} @@ -3762,6 +3762,7 @@ % \changes{v3.1c}{2007/10/06}{\cs{caption} will be saved \& restored now} % \changes{v3.2a}{2011/08/17}{Bugfix: Uses \cs{caption@freeze} instead of \cs{caption@freeze*} now} % \changes{v3.3}{2013/05/01}{Usage of \cs{caption@freeze} replaced by \cs{caption@freezetype}} +% \changes{v3.5i}{2022/07/10}{\cs{ignorespaces} appended} % This macro will be called at the start of the environment, here is a good % opportunity to do some adaptations to |\caption| and |\captionsetup|. % \begin{macrocode} @@ -3775,7 +3776,7 @@ \SC@RestoreCommands % \end{macrocode} % Since the sidecap package uses our |\caption| code outside the -% environment the regular |\captionsetup| will not work. +% environment the regular |\caption|\-|setup| will not work. % So we need a special version here which saves the given argument list % which will be executed later on. % Furthermore we need to make |\caption*| work. @@ -3785,7 +3786,12 @@ % The sidecap package uses |\ifx\label\SC@label| to test if it is just inside a % |SC|\-|figure| or not. So we redefine |\SC@label| here so this test will still work. % \begin{macrocode} - \let\SC@label\label}% + \let\SC@label\label +% \end{macrocode} +% Since the original definition of |\SC@zfloat| ends with |\begin{lrbox}| which ends with |\ignore|\-|spaces|, +% we do have to end our re-definition of |\SC@zfloat| with |\ignore|\-|spaces| as well. +% \begin{macrocode} + \ignorespaces}% % \end{macrocode} % \begin{macrocode} \providecommand*\SC@RestoreCommands{% |