summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/caption/caption-koma.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-18 21:31:05 +0000
committerKarl Berry <karl@freefriends.org>2020-09-18 21:31:05 +0000
commit0479a07f9b8bf820dc913d5d467aaf6d877cff79 (patch)
tree66fa0eb1a98946fab3f2c485387756e1e9d86e5c /Master/texmf-dist/source/latex/caption/caption-koma.dtx
parenta6ec80836fdb61ba50f1d39a9d0662e54735308c (diff)
caption (18sep20)
git-svn-id: svn://tug.org/texlive/trunk@56374 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/caption-koma.dtx')
-rw-r--r--Master/texmf-dist/source/latex/caption/caption-koma.dtx9
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/caption/caption-koma.dtx b/Master/texmf-dist/source/latex/caption/caption-koma.dtx
index 1cd5f856716..dc76dbad1cb 100644
--- a/Master/texmf-dist/source/latex/caption/caption-koma.dtx
+++ b/Master/texmf-dist/source/latex/caption/caption-koma.dtx
@@ -193,7 +193,7 @@
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{caption-koma.sto}[2020/08/22 v2.0 Adaption of the caption package to the KOMA-Script document classes (AR)]
+\ProvidesFile{caption-koma.sto}[2020/09/12 v2.0a Adaption of the caption package to the KOMA-Script document classes (AR)]
% \end{macrocode}
%
% \section{Margin resp. width}
@@ -408,13 +408,14 @@
% Furthermore we take over the caption related settings from the \KOMAScript\ classes.
%
% \begin{macro}{\if@captionabove}
-% \changes{v1.0j}{2006/03/21}{Bugfix 06-03-21: \cs{let}\cs{caption@setposition}\cs{@gobble} added}
+% \changes{v1.0j}{2006/03/21}{Bugfix 2006-03-21: \cs{let}\cs{caption@setposition}\cs{@gobble} added}
% \changes{v1.0n}{2006/03/09}{Accidentally this got broken in \version{1.0m}, fixed}
% \changes{v1.1}{2007/03/31}{We redefine \cs{captionabovetrue/false} now instead of \cs{captionabove/below}}
-% \changes{v1.1a}{2007/09/14}{Bugfix 07-09-14: Redefinition of \cs{@captionabovetrue} \& \cs{@captionabovefalse} for \env{longtable} added}
+% \changes{v1.1a}{2007/09/14}{Bugfix 2007-09-14: Redefinition of \cs{@captionabovetrue} \& \cs{@captionabovefalse} for \env{longtable} added}
% \changes{v1.1g}{2008/03/01}{\cs{def} changed to \cs{g@addto@macro}}
% \changes{v1.1k}{2009/10/09}{\opt{figureposition} and \opt{tableposition} will issue a warning now}
% \changes{v1.8e}{2019/09/11}{\opt{figureposition} and \opt{tableposition} will now set the position anyway since it could be used by other packages}
+% \changes{v2.0a}{2020/09/12}{Faulty \cs{AtBeginCaption} replaced with correct \cs{AfterCaptionPackage}}
% Patch |\@captionabovetrue| and |\@captionabovefalse| so they will set the \package{caption3} position setting, too.
% Note that these are stronger than the \opt{position} setting, therefore we override the options
% \opt{figureposition} and \opt{tableposition} to typeout a warning.
@@ -431,7 +432,7 @@
% \end{macrocode}
% |\captionabove| \& |\captionbelow| for longtable:
% \begin{macrocode}
-\AtBeginCaption{\caption@AtBeginLongtable{%
+\AfterCaptionPackage{\caption@AtBeginLongtable{%
\def\@captionabovetrue{\LT@captionsetup{position=t}}%
\def\@captionabovefalse{\LT@captionsetup{position=b}}}}
% \end{macrocode}