summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-04-22 17:15:40 +0000
committerKarl Berry <karl@freefriends.org>2007-04-22 17:15:40 +0000
commit5fdc1983dd12ec0b4ec68aad3d0c6ab016207208 (patch)
tree311bff8fcc0120fb4167bf670643f85e65c861b4 /Master/texmf-dist/tex/latex/caption/caption.sty
parent520623ea11cabc166b0d623ece2e85129da61cbd (diff)
caption 3.0q (17apr07)
git-svn-id: svn://tug.org/texlive/trunk@4173 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.sty12
1 files changed, 3 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption.sty b/Master/texmf-dist/tex/latex/caption/caption.sty
index 9fac17f8caf..20b2a3ceed9 100644
--- a/Master/texmf-dist/tex/latex/caption/caption.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption.sty
@@ -27,11 +27,10 @@
%% caption.sty, caption2.sty, caption3.sty, and manual.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2007/04/09 v3.0p Customising captions (AR)]
+\ProvidesPackage{caption}[2007/04/16 v3.0q Customising captions (AR)]
\RequirePackage{caption3}[2007/01/31] % needs v3.0l or newer
-\def\caption@package{caption}%
\@ifpackageloaded{caption2}{%
- \caption@error{You can't use both the caption *and* caption2 package}%
+ \caption@Error{You can't use both the caption *and* caption2 package}%
\endinput
}{}
\DeclareCaptionOption{config}[caption]{%
@@ -189,14 +188,9 @@
\caption@iftop{\vskip\abovecaptionskip}{\vskip\belowcaptionskip}}
\@ifundefined{scr@caption}{}{%
\caption@Info{KOMA-Script class detected}
+ \AtBeginDocument{\let\scr@caption\caption}
\def\onelinecaptionstrue{\caption@setbool{slc}{1}}
\def\onelinecaptionsfalse{\caption@setbool{slc}{0}}
- \ifonelinecaptions
- \onelinecaptionstrue
- \else
- \onelinecaptionsfalse
- \fi
- \AtBeginDocument{\let\scr@caption\caption}
\def\captionabove{%
\caption@setposition{t}\let\caption@setposition\@gobble
\scr@caption}