summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-02 18:52:20 +0000
committerKarl Berry <karl@freefriends.org>2007-04-02 18:52:20 +0000
commit91f4ebbb815ff520227e84dc308d17d34a5226c7 (patch)
treee0a826081c9937469fd968c6c518053fc81d373d /Master/texmf-dist/tex/latex/caption/caption.sty
parentc2e16d6ea61490001a67a0c03f0cfbfb58533713 (diff)
caption 3.0o (31mar07)
git-svn-id: svn://tug.org/texlive/trunk@4093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption.sty9
1 files changed, 5 insertions, 4 deletions
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}%