From 91f4ebbb815ff520227e84dc308d17d34a5226c7 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Mon, 2 Apr 2007 18:52:20 +0000
Subject: caption 3.0o (31mar07)

git-svn-id: svn://tug.org/texlive/trunk@4093 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/caption/caption.sty | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/caption/caption.sty')

diff --git a/Master/texmf-dist/tex/latex/caption/caption.sty b/Master/texmf-dist/tex/latex/caption/caption.sty
index 6d07328ebaa..cf8c40c921a 100644
--- a/Master/texmf-dist/tex/latex/caption/caption.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption.sty
@@ -27,7 +27,7 @@
 %% caption.sty, caption2.sty, caption3.sty, and manual.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2007/03/04 v3.0m Customising captions (AR)]
+\ProvidesPackage{caption}[2007/03/09 v3.0o Customising captions (AR)]
 \RequirePackage{caption3}[2007/01/31] % needs v3.0l or newer
 \DeclareCaptionOption{config}[caption]{%
    \InputIfFileExists{#1.cfg}{\typeout{*** Local configuration file
@@ -183,7 +183,7 @@
   \caption@@make{#1}{#2}%
   \caption@iftop{\vskip\abovecaptionskip}{\vskip\belowcaptionskip}}
 \@ifundefined{scr@caption}{}{%
-  \caption@Info{KOMA-Script class detected}%
+  \caption@Info{KOMA-Script class detected}
   \def\onelinecaptionstrue{\caption@setbool{slc}{1}}
   \def\onelinecaptionsfalse{\caption@setbool{slc}{0}}
   \ifonelinecaptions
@@ -191,12 +191,13 @@
   \else
     \onelinecaptionsfalse
   \fi
+  \AtBeginDocument{\let\scr@caption\caption}
   \def\captionabove{%
     \caption@setposition{t}\let\caption@setposition\@gobble
-    \caption}
+    \scr@caption}
   \def\captionbelow{%
     \caption@setposition{b}\let\caption@setposition\@gobble
-    \caption}
+    \scr@caption}
 }
 \AtBeginDocument{\@ifundefined{f@ffrench}{}{%
   \caption@Info{french(le) package detected}%
-- 
cgit v1.2.3

