diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption3.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/caption/caption3.sty | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption3.sty b/Master/texmf-dist/tex/latex/caption/caption3.sty index 625d1165586..278723d83dc 100644 --- a/Master/texmf-dist/tex/latex/caption/caption3.sty +++ b/Master/texmf-dist/tex/latex/caption/caption3.sty @@ -38,7 +38,7 @@ %% caption-deu.tex, caption-eng.tex, caption-rus.tex. %% \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption3}[2020/09/11 v2.0b caption3 kernel (AR)] +\ProvidesPackage{caption3}[2020/09/17 v2.1b caption3 kernel (AR)] \providecommand*\@nameundef[1]{% \expandafter\let\csname #1\endcsname\@undefined} \providecommand\l@addto@macro[2]{% @@ -651,7 +651,7 @@ \DeclareCaptionBox{none}{#2} \DeclareCaptionBox{parbox}{\parbox[b]{#1}{#2}} \DeclareCaptionBox{colorbox}{% - \colorbox\caption@boxcolor{% + \colorbox{\caption@boxcolor}{% \setlength\caption@tempdima{#1}% \addtolength\caption@tempdima{-2\fboxsep}% \linewidth\caption@tempdima @@ -1123,6 +1123,11 @@ \@onlypreamble\AtCaptionPackage \providecommand*\caption@documentclass@code{} \@onlypreamble\caption@documentclass@code +\newcommand*\AfterCaptionPackage{% + \g@addto@macro\caption@endtitles@code} +\@onlypreamble\AfterCaptionPackage +\providecommand*\caption@endtitles@code{} +\@onlypreamble\caption@endtitles@code \newcommand*\caption@IfBabelPackageLoaded[4]{% \caption@ifdefined#2\@firstofone\caption@AtBeginDocument{% \caption@if@bool{\@nameuse{caption@ifbabel@#1}}% @@ -1157,7 +1162,6 @@ \providecommand\caption@french@labelseparator{\CaptionSeparator}% \DeclareCaptionLabelSeparator{colon}{\autospace@beforeFDP : }% \ifFBOldFigTabCaptions - \typeout{OldFigTabCaptions=true}% %%%%%%%%%%% <= needs to be removed \caption@ifdefined\extrasfrench{% \addto\extrasfrench{% \caption@switchdefault{labelseparator}{\babel@save #1}{french}}}{}% @@ -1165,18 +1169,11 @@ \addto\extrasacadian{% \caption@switchdefault{labelseparator}{\babel@save #1}{french}}}{}% \else - \typeout{OldFigTabCaptions=false}% %%%%%%%%%%% <= needs to be removed \ifFBCustomiseFigTabCaptions - \typeout{CustomiseFigTabCaptions=true}% %%%%%%%%%%% <= needs to be removed \caption@AtBeginDocument{% \ifFB@mainlanguage@FR - \typeout{mainlanguage=FR}% \SetCaptionDefault{labelseparator}{french}% - \else - \typeout{mainlanguage=other}% %%%%%%%%%%% <= needs to be removed \fi}% - \else - \typeout{CustomiseFigTabCaptions=false}% %%%%%%%%%%% <= needs to be removed \fi \fi }{} |