diff options
Diffstat (limited to 'macros/latex/contrib/caption/caption3.dtx')
-rw-r--r-- | macros/latex/contrib/caption/caption3.dtx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/macros/latex/contrib/caption/caption3.dtx b/macros/latex/contrib/caption/caption3.dtx index be2a46ec67..33bb027ceb 100644 --- a/macros/latex/contrib/caption/caption3.dtx +++ b/macros/latex/contrib/caption/caption3.dtx @@ -31,7 +31,7 @@ % % \fi % -% \CheckSum{3853} +% \CheckSum{3855} % % \iffalse %<*driver> @@ -1178,6 +1178,11 @@ \@onlypreamble\caption@SetupOptions@list % \end{macrocode} % \begin{macrocode} +%% Unfortunately we have to patch internal \LaTeX\ code here +%% to get rid of unnecessary ``Option clash'' error messages. +%% I have asked Frank Mittelbach and David Carlisle in 2018 +%% and have asked Frank again in 2020 for a proper interface instead of +%% this dirty hack, but my requests got declined. \let\caption@onefilewithoptions\@onefilewithoptions \def\@onefilewithoptions#1[#2]{% \begingroup @@ -2118,7 +2123,7 @@ \DeclareCaptionLabelFormat{simple}{\bothIfFirst{#1}{\nobreakspace}#2} \DeclareCaptionLabelFormat{parens}{\bothIfFirst{#1}{\nobreakspace}(#2)} \DeclareCaptionLabelFormat{brace}{\bothIfFirst{#1}{\nobreakspace}#2)} -\DeclareCaptionLabelFormat{autodot}{\bothIfFirst{#1}{\nobreakspace}#2\autodot} +\DeclareCaptionLabelFormat{autodot}{\bothIfFirst{#1}{\nobreakspace}#2\autodot} % obsolete, use `koma' instead \DeclareCaptionLabelFormat{unnumbered}{#1} % \end{macrocode} % |