summaryrefslogtreecommitdiff
path: root/Master
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
parent520623ea11cabc166b0d623ece2e85129da61cbd (diff)
caption 3.0q (17apr07)
git-svn-id: svn://tug.org/texlive/trunk@4173 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/caption/anleitung.pdfbin211737 -> 211736 bytes
-rw-r--r--Master/texmf-dist/doc/latex/caption/caption.pdfbin327164 -> 327267 bytes
-rw-r--r--Master/texmf-dist/doc/latex/caption/caption2.pdfbin125143 -> 124990 bytes
-rw-r--r--Master/texmf-dist/source/latex/caption/caption.dtx103
-rw-r--r--Master/texmf-dist/source/latex/caption/caption2.dtx32
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption.sty12
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption2.sty23
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption3.sty42
-rw-r--r--Master/texmf-dist/tpm/caption.tpm10
9 files changed, 88 insertions, 134 deletions
diff --git a/Master/texmf-dist/doc/latex/caption/anleitung.pdf b/Master/texmf-dist/doc/latex/caption/anleitung.pdf
index 6582634184b..02748d4dc0e 100644
--- a/Master/texmf-dist/doc/latex/caption/anleitung.pdf
+++ b/Master/texmf-dist/doc/latex/caption/anleitung.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/caption/caption.pdf b/Master/texmf-dist/doc/latex/caption/caption.pdf
index 86d327a6121..ba899d3fc9a 100644
--- a/Master/texmf-dist/doc/latex/caption/caption.pdf
+++ b/Master/texmf-dist/doc/latex/caption/caption.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/caption/caption2.pdf b/Master/texmf-dist/doc/latex/caption/caption2.pdf
index 9cf8f8d8114..18d202beb92 100644
--- a/Master/texmf-dist/doc/latex/caption/caption2.pdf
+++ b/Master/texmf-dist/doc/latex/caption/caption2.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/caption/caption.dtx b/Master/texmf-dist/source/latex/caption/caption.dtx
index ad7af11deb6..99e1ed531d4 100644
--- a/Master/texmf-dist/source/latex/caption/caption.dtx
+++ b/Master/texmf-dist/source/latex/caption/caption.dtx
@@ -23,7 +23,7 @@
% caption.sty, caption2.sty, caption3.sty, and manual.tex.
%
% \fi
-% \CheckSum{2198}
+% \CheckSum{2194}
%
% \iffalse
%<*driver>
@@ -2000,7 +2000,7 @@
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption3}[2007/04/09 v3.0p caption3 kernel (AR)]
+\ProvidesPackage{caption3}[2007/04/11 v3.0q caption3 kernel (AR)]
% \end{macrocode}
%
% \subsubsection*{Generic helpers}
@@ -2088,7 +2088,7 @@
}{\caption@ifinlist{#2}{0,false,no,off}{%
\expandafter\let\csname caption@if#1\endcsname\@secondoftwo
}{%
- \caption@error{Undefined boolean value `#2'}%
+ \caption@Error{Undefined boolean value `#2'}%
}}}
% \end{macrocode}
% \begin{macrocode}
@@ -2125,13 +2125,14 @@
%
% \subsubsection*{Errors}
%
-% \begin{macro}{\caption@error}
+% \begin{macro}{\caption@Error}
% \changes{v3.0l}{2007/01/20}{This macro added}
+% \changes{v3.0q}{2007/04/11}{Renamed from \cs{caption@error} to \cs{caption@Error}}
% This is mainly identical to |\PackageError{caption}{#1}{\caption@eh}|.
% \begin{macrocode}
-\newcommand\caption@package{caption}
-\newcommand*\caption@error[1]{%
- \PackageError\caption@package{#1}\caption@eh}
+\newcommand\caption@Package{caption}
+\newcommand*\caption@Error[1]{%
+ \PackageError\caption@Package{#1}\caption@eh}
% \end{macrocode}
% \end{macro}
%
@@ -2141,7 +2142,7 @@
% \begin{macrocode}
\newcommand\caption@eh{%
If you do not understand this error, please take a closer look\MessageBreak
- at the documentation of the `\caption@package' package.\MessageBreak
+ at the documentation of the `\caption@Package' package.\MessageBreak
\@ehc}
% \end{macrocode}
% \end{macro}
@@ -2214,15 +2215,15 @@
\ifnum\caption@keydepth=0\relax
\let\caption@KV@errx\KV@errx
\let\caption@KV@err\KV@err
- \let\KV@errx\caption@error
- \let\KV@err\caption@error
+ \let\KV@errx\caption@Error
+ \let\KV@err\caption@Error
\fi
\caption@stepcounter\caption@keydepth
%
- \def\caption@package{#1}%
+ \def\caption@Package{#1}%
\caption@Debug{\protect\setkeys{#2}{#3}}%
\setkeys{#2}{#3}%
- \def\caption@package{caption}%
+ \def\caption@Package{caption}%
%
\caption@addtocounter\caption@keydepth\m@ne
\ifnum\caption@keydepth=0\relax
@@ -2568,7 +2569,7 @@
\@ifstar{\caption@@setstyle\@gobble}{\caption@@setstyle\@firstofone}}
\newcommand*\caption@@setstyle[2]{%
\@ifundefined{caption@sty@#2}%
- {#1{\caption@error{Undefined caption style `#2'}}}%
+ {#1{\caption@Error{Undefined caption style `#2'}}}%
{\expandafter\let\expandafter\caption@sls\csname caption@sls@#2\endcsname
\caption@setdefault\caption@esetup{\csname caption@sty@#2\endcsname}}}
% \end{macrocode}
@@ -2628,7 +2629,7 @@
% \begin{macrocode}
\newcommand*\caption@setformat[1]{%
\@ifundefined{caption@fmt@#1}%
- {\caption@error{Undefined caption format `#1'}}%
+ {\caption@Error{Undefined caption format `#1'}}%
{\expandafter\let\expandafter\caption@ifh\csname caption@ifh@#1\endcsname
\expandafter\let\expandafter\caption@fmt\csname caption@fmt@#1\endcsname}}
% \end{macrocode}
@@ -2680,7 +2681,7 @@
% \begin{macrocode}
\newcommand*\caption@setlabelformat[1]{%
\@ifundefined{caption@lfmt@#1}%
- {\caption@error{Undefined caption label format `#1'}}%
+ {\caption@Error{Undefined caption label format `#1'}}%
{\expandafter\let\expandafter\caption@lfmt\csname caption@lfmt@#1\endcsname}}
% \end{macrocode}
% \end{macro}
@@ -2730,7 +2731,7 @@
% \begin{macrocode}
\newcommand*\caption@setlabelseparator[1]{%
\@ifundefined{caption@lsep@#1}%
- {\caption@error{Undefined caption label separator `#1'}}%
+ {\caption@Error{Undefined caption label separator `#1'}}%
{\expandafter\let\expandafter\caption@iflf\csname caption@iflf@#1\endcsname
\expandafter\let\expandafter\caption@lsep\csname caption@lsep@#1\endcsname}}
% \end{macrocode}
@@ -2782,7 +2783,7 @@
% \begin{macrocode}
\newcommand*\caption@settextformat[1]{%
\@ifundefined{caption@tfmt@#1}%
- {\caption@error{Undefined caption text format `#1'}}%
+ {\caption@Error{Undefined caption text format `#1'}}%
{\expandafter\let\expandafter\caption@tfmt\csname caption@tfmt@#1\endcsname}}
% \end{macrocode}
% \end{macro}
@@ -2823,7 +2824,7 @@
% \begin{macrocode}
\newcommand*\caption@setjustification[1]{%
\@ifundefined{caption@hj@#1}%
- {\caption@error{Undefined caption justification `#1'}}%
+ {\caption@Error{Undefined caption justification `#1'}}%
{\expandafter\let\expandafter\caption@hj\csname caption@hj@#1\endcsname}}
%\newcommand\caption@setjustification{\caption@setfont{@hj}}
% \end{macrocode}
@@ -2894,6 +2895,8 @@
%
% \begin{macro}{\caption@ragged}
% \changes{v3.0p}{2007/04/07}{The `ragged2e' package will now only been loaded when needed}
+% \changes{v3.0q}{2007/04/11}{Bugfix: Usage of \cs{caption@Info} replaced by \cs{caption@Debug}}
+% \changes{v3.0q}{2007/04/16}{Warnung will be suppressed on first \LaTeX\ run}
% |\caption@ragged| will be basically defined as\par
% |\AtBeginDocument{\IfFileExists{ragged2e.sty}%|\\
% | {\RequirePackage{ragged2e}\let\caption@ragged\@firstoftwo}%|\\
@@ -2904,7 +2907,7 @@
% Furthermore we load the \package{ragged2e} package, if needed and available.
% \begin{macrocode}
\newcommand*\caption@ragged{%
- \caption@Info{We need ragged2e}%
+ \caption@Debug{We need ragged2e}%
\protected@write\@auxout{}{\string\caption@newlabel{ragged2e}{}}%
\global\let\caption@ragged\caption@@ragged
\caption@@ragged}
@@ -2920,8 +2923,10 @@
% \end{macrocode}
% \begin{macrocode}
\AtBeginDocument{%
- \@ifundefined{caption@ragged2e}{}{%
- \caption@Info{We load ragged2e}%
+ \@ifundefined{caption@ragged2e}{%
+ \let\caption@@ragged\@secondoftwo % suppress warning above
+ }{%
+ \caption@Debug{We load ragged2e}%
\IfFileExists{ragged2e.sty}{%
\RequirePackage{ragged2e}\let\caption@@ragged\@firstoftwo}{}%
}}
@@ -3080,7 +3085,7 @@
}{\caption@ifinlist{#1}{a,auto}{%
\let\caption@position\@undefined
}{%
- \caption@error{Undefined caption position `#1'}%
+ \caption@Error{Undefined caption position `#1'}%
}}}}}
% \end{macrocode}
% \end{macro}
@@ -3519,14 +3524,13 @@
%
% \begin{macrocode}
\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)]
% \end{macrocode}
%
% \subsubsection*{Loading the kernel}
%
% \begin{macrocode}
\RequirePackage{caption3}[2007/01/31] % needs v3.0l or newer
-\def\caption@package{caption}%
% \end{macrocode}
%
% \subsection*{Check against the obsolete \package{caption2} package}
@@ -3534,7 +3538,7 @@
%
% \begin{macrocode}
\@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
}{}
% \end{macrocode}
@@ -4031,10 +4035,12 @@
% \changes{v3.0h}{2005/08/22}{\cs{PackageInfo} added to \KOMAScript\ support}
% \changes{v3.0i}{2005/11/17}{\KOMAScript\ compatibility commands added}
% \changes{v3.0l}{2007/02/18}{\KOMAScript\ compatibility revised}
+% \changes{v3.0q}{2007/04/16}{\KOMAScript\ compatibility revised}
%
% \begin{macrocode}
\@ifundefined{scr@caption}{}{%
\caption@Info{KOMA-Script class detected}
+ \AtBeginDocument{\let\scr@caption\caption}
% \end{macrocode}
%
% \begin{macro}{\onelinecaptionsfalse}
@@ -4042,11 +4048,6 @@
% \begin{macrocode}
\def\onelinecaptionstrue{\caption@setbool{slc}{1}}
\def\onelinecaptionsfalse{\caption@setbool{slc}{0}}
- \ifonelinecaptions
- \onelinecaptionstrue
- \else
- \onelinecaptionsfalse
- \fi
% \end{macrocode}
% \end{macro}
% \end{macro}
@@ -4061,7 +4062,6 @@
% \newcommand{\captionbelow}{\@captionabovefalse\scr@caption}
% \end{verbatim}
% \begin{macrocode}
- \AtBeginDocument{\let\scr@caption\caption}
\def\captionabove{%
\caption@setposition{t}\let\caption@setposition\@gobble
\scr@caption}
@@ -4072,47 +4072,6 @@
% \end{macro}
% \end{macro}
%
-% \iffalse % Not very useful...
-% \begin{macro}{\setcapindent}
-% \begin{macrocode}
-% \def\setcapindent{\@ifstar{\@@setcapindent}{\@setcapindent}}
-% \def\@setcapindent#1{%
-% \caption@setformat{plain}\setlength\captionindent{#1}}
-% \def\@@setcapindent#1{%
-% \caption@error{\string\setcapindent* is not supported yet}}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\setcaphanging}
-% \begin{macrocode}
-% \def\setcaphanging{%
-% \caption@setformat{hang}\setlength\captionindent\@z}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\setcapwidth}
-% \begin{macrocode}
-% \renewcommand*\setcapwidth[2][]{%
-% \PackageWarning{caption}{%
-% Ignoring optional argument of \string\setcapwidth!\MessageBreak
-% You're using package caption.\MessageBreak}%
-% \setcaptionwidth{#2}}
-% \end{macrocode}
-% \end{macro}
-%
-% \begin{macro}{\setcapmargin}
-% \begin{macrocode}
-% \renewcommand*\setcapmargin{\@ifstar\@setcapmargin\@@setcapmargin}
-% \renewcommand*\@setcapmargin[2][\@tempdimb]{%
-% \setlength\@tempdimb{#2}%
-% \setlength\@tempdima{#1}%
-% \setcaptionmargin{\@tempdima,\@tempdimb}}
-% \renewcommand*\@@setcapmargin[2][\@tempdimb]{%
-% \caption@error{\string\setcapmargin* is not supported yet}}
-% \end{macrocode}
-% \end{macro}
-% \fi
-%
% \begin{macrocode}
}
% \end{macrocode}
diff --git a/Master/texmf-dist/source/latex/caption/caption2.dtx b/Master/texmf-dist/source/latex/caption/caption2.dtx
index d2b92bce82f..e25b98a6723 100644
--- a/Master/texmf-dist/source/latex/caption/caption2.dtx
+++ b/Master/texmf-dist/source/latex/caption/caption2.dtx
@@ -2,7 +2,7 @@
%
% This is file `caption2.dtx'.
%
-% Copyright (C) 1994-2005 Axel Sommerfeldt (caption@sommerfee.de)
+% Copyright (C) 1994-2007 Axel Sommerfeldt (caption@sommerfee.de)
%
% --------------------------------------------------------------------------
%
@@ -19,11 +19,11 @@
% This Current Maintainer of this work is Axel Sommerfeldt.
%
% This work consists of the files caption.ins, caption.dtx,
-% caption2.dtx, caption.xml, and anleitung.tex and the derived files
-% caption.sty, caption2.sty, caption3.sty, and manual.tex.
+% caption2.dtx, manual.tex, and anleitung.tex and the derived
+% files caption.sty, caption2.sty, and caption3.sty.
%
% \fi
-% \CheckSum{837}
+% \CheckSum{836}
%
% \iffalse
%<*driver>
@@ -183,8 +183,8 @@
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption2}[2007/04/06 v2.2 Customising captions (AS)]
-\PackageWarning{caption2}{%
+\ProvidesPackage{caption2}[2007/04/11 v2.2a Customising captions (AS)]
+\PackageWarningNoLine{caption2}{%
*** THIS PACKAGE IS OBSOLETE, PLEASE USE caption ***}
% \end{macrocode}
%
@@ -192,15 +192,15 @@
%
% \begin{macrocode}
\RequirePackage{caption3}[2007/03/04] % needs v3.0m or newer
-\def\caption@package{caption2}
% \end{macrocode}
%
% \subsection{Check against the regular \package{caption} package}
% \changes{v2.2}{2007/04/06}{Check against regular \package{caption} package added}
+% \changes{v2.2a}{2007/04/11}{Bugfix: Usage of \cs{caption@error} replaced by \cs{PackageError}}
%
% \begin{macrocode}
\@ifpackageloaded{caption}{%
- \caption@error{You can't use both the caption *and* caption2 package}%
+ \PackageError{caption2}{You can't use both the caption *and* caption2 package}{\caption@eh}%
\endinput
}{}
% \end{macrocode}
@@ -1145,11 +1145,11 @@
% Note: \cs{subfigcapmargin} is a command in v2.0 of \textsf{subfigure}.
% So we make \cs{subfigcapwidth} a command, too.
% \begin{macrocode}
- \newcommand\subfigcapwidth{\z@}
- \newcommand\setsubcapmargin{%
+ \newcommand*\subfigcapwidth{\z@}
+ \newcommand*\setsubcapmargin{%
\subfigcapwidthfalse
\renewcommand*\subfigcapmargin}
- \newcommand\setsubcapwidth{%
+ \newcommand*\setsubcapwidth{%
\subfigcapwidthtrue
\renewcommand*\subfigcapwidth}
% \end{macrocode}
@@ -1160,7 +1160,7 @@
% \begin{macro}{\subcaplabelsep}
% Analogous to \cs{captionlabelsep} we define \cs{subcaplabelsep}.
% \begin{macrocode}
- \newcommand\subcaplabelsep{\space}
+ \newcommand*\subcaplabelsep{\space}
% \end{macrocode}
% \end{macro}
%
@@ -1187,10 +1187,10 @@
% So we make \cs{subfigcapwidth} a length, too.
% \begin{macrocode}
\newdimen\subfigcapwidth
- \newcommand\setsubcapmargin{%
+ \newcommand*\setsubcapmargin{%
\subfigcapwidthfalse
\setlength\subfigcapmargin}
- \newcommand\setsubcapwidth{%
+ \newcommand*\setsubcapwidth{%
\subfigcapwidthtrue
\setlength\subfigcapwidth}
% \end{macrocode}
@@ -1201,7 +1201,7 @@
% \begin{macro}{\subcaplabelsep}
% Analogous to \cs{captionlabelsep} we define \cs{subcaplabelsep}.
% \begin{macrocode}
- \newcommand\subcaplabelsep{\hskip\subfiglabelskip}
+ \newcommand*\subcaplabelsep{\hskip\subfiglabelskip}
% \end{macrocode}
% \end{macro}
%
@@ -1226,7 +1226,7 @@
% \begin{macrocode}
\newif\ifsubfigcapwidth
\newdimen\subcapindent
- \newcommand\subcaplabeldelim{}
+ \newcommand*\subcaplabeldelim{}
% \end{macrocode}
% \end{macro}
% \end{macro}
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}
diff --git a/Master/texmf-dist/tex/latex/caption/caption2.sty b/Master/texmf-dist/tex/latex/caption/caption2.sty
index 0fd4bd37639..bedf31d09ed 100644
--- a/Master/texmf-dist/tex/latex/caption/caption2.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption2.sty
@@ -27,13 +27,12 @@
%% caption.sty, caption2.sty, caption3.sty, and manual.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption2}[2007/04/06 v2.2 Customising captions (AS)]
-\PackageWarning{caption2}{%
+\ProvidesPackage{caption2}[2007/04/11 v2.2a Customising captions (AS)]
+\PackageWarningNoLine{caption2}{%
*** THIS PACKAGE IS OBSOLETE, PLEASE USE caption ***}
\RequirePackage{caption3}[2007/03/04] % needs v3.0m or newer
-\def\caption@package{caption2}
\@ifpackageloaded{caption}{%
- \caption@error{You can't use both the caption *and* caption2 package}%
+ \PackageError{caption2}{You can't use both the caption *and* caption2 package}{\caption@eh}%
\endinput
}{}
\newcommand*\captionlabeldelim{}
@@ -379,30 +378,30 @@
\ifx\subcapfont\undefined
\PackageInfo{caption2}{subfigure package v2.0 detected}
\let\subcapfont\@empty
- \newcommand\subfigcapwidth{\z@}
- \newcommand\setsubcapmargin{%
+ \newcommand*\subfigcapwidth{\z@}
+ \newcommand*\setsubcapmargin{%
\subfigcapwidthfalse
\renewcommand*\subfigcapmargin}
- \newcommand\setsubcapwidth{%
+ \newcommand*\setsubcapwidth{%
\subfigcapwidthtrue
\renewcommand*\subfigcapwidth}
- \newcommand\subcaplabelsep{\space}
+ \newcommand*\subcaplabelsep{\space}
\let\caption@subfig@hss\hfil
\else
\PackageInfo{caption2}{subfigure package v2.1 (or newer) detected}
\newdimen\subfigcapwidth
- \newcommand\setsubcapmargin{%
+ \newcommand*\setsubcapmargin{%
\subfigcapwidthfalse
\setlength\subfigcapmargin}
- \newcommand\setsubcapwidth{%
+ \newcommand*\setsubcapwidth{%
\subfigcapwidthtrue
\setlength\subfigcapwidth}
- \newcommand\subcaplabelsep{\hskip\subfiglabelskip}
+ \newcommand*\subcaplabelsep{\hskip\subfiglabelskip}
\let\caption@subfig@hss\hss
\fi
\newif\ifsubfigcapwidth
\newdimen\subcapindent
- \newcommand\subcaplabeldelim{}
+ \newcommand*\subcaplabeldelim{}
\newcommand*\subcapstyle[1]{%
\expandafter\ifx\csname caption@@#1\endcsname\relax
\PackageError{caption2}{Undefined caption style `#1'}{\caption@eh}%
diff --git a/Master/texmf-dist/tex/latex/caption/caption3.sty b/Master/texmf-dist/tex/latex/caption/caption3.sty
index 34a8e52fb0d..8dba296a100 100644
--- a/Master/texmf-dist/tex/latex/caption/caption3.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption3.sty
@@ -27,7 +27,7 @@
%% caption.sty, caption2.sty, caption3.sty, and manual.tex.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption3}[2007/04/09 v3.0p caption3 kernel (AR)]
+\ProvidesPackage{caption3}[2007/04/11 v3.0q caption3 kernel (AR)]
\providecommand*\@nameundef[1]{%
\expandafter\let\csname #1\endcsname\@undefined}
\providecommand{\l@addto@macro}[2]{%
@@ -59,7 +59,7 @@
}{\caption@ifinlist{#2}{0,false,no,off}{%
\expandafter\let\csname caption@if#1\endcsname\@secondoftwo
}{%
- \caption@error{Undefined boolean value `#2'}%
+ \caption@Error{Undefined boolean value `#2'}%
}}}
\def\caption@ifbool#1{\@nameuse{caption@if#1}}
\def\caption@undefbool#1{\@nameundef{caption@if#1}}
@@ -72,12 +72,12 @@
\xdef#1{\the\@tempcnta}%
\endgroup}
\def\caption@stepcounter#1{\caption@addtocounter#1\@ne}
-\newcommand\caption@package{caption}
-\newcommand*\caption@error[1]{%
- \PackageError\caption@package{#1}\caption@eh}
+\newcommand\caption@Package{caption}
+\newcommand*\caption@Error[1]{%
+ \PackageError\caption@Package{#1}\caption@eh}
\newcommand\caption@eh{%
If you do not understand this error, please take a closer look\MessageBreak
- at the documentation of the `\caption@package' package.\MessageBreak
+ at the documentation of the `\caption@Package' package.\MessageBreak
\@ehc}
\RequirePackage{keyval}[1997/11/10]
\providecommand*\undefine@key[2]{%
@@ -102,14 +102,14 @@
\ifnum\caption@keydepth=0\relax
\let\caption@KV@errx\KV@errx
\let\caption@KV@err\KV@err
- \let\KV@errx\caption@error
- \let\KV@err\caption@error
+ \let\KV@errx\caption@Error
+ \let\KV@err\caption@Error
\fi
\caption@stepcounter\caption@keydepth
- \def\caption@package{#1}%
+ \def\caption@Package{#1}%
\caption@Debug{\protect\setkeys{#2}{#3}}%
\setkeys{#2}{#3}%
- \def\caption@package{caption}%
+ \def\caption@Package{caption}%
\caption@addtocounter\caption@keydepth\m@ne
\ifnum\caption@keydepth=0\relax
\let\KV@errx\caption@KV@errx
@@ -233,7 +233,7 @@
\@ifstar{\caption@@setstyle\@gobble}{\caption@@setstyle\@firstofone}}
\newcommand*\caption@@setstyle[2]{%
\@ifundefined{caption@sty@#2}%
- {#1{\caption@error{Undefined caption style `#2'}}}%
+ {#1{\caption@Error{Undefined caption style `#2'}}}%
{\expandafter\let\expandafter\caption@sls\csname caption@sls@#2\endcsname
\caption@setdefault\caption@esetup{\csname caption@sty@#2\endcsname}}}
\newcommand\caption@setdefault{\captionsetup{%
@@ -253,7 +253,7 @@
\DeclareCaptionOption{format}{\caption@setformat{#1}}
\newcommand*\caption@setformat[1]{%
\@ifundefined{caption@fmt@#1}%
- {\caption@error{Undefined caption format `#1'}}%
+ {\caption@Error{Undefined caption format `#1'}}%
{\expandafter\let\expandafter\caption@ifh\csname caption@ifh@#1\endcsname
\expandafter\let\expandafter\caption@fmt\csname caption@fmt@#1\endcsname}}
\DeclareCaptionFormat{plain}{#1#2#3\par}
@@ -271,7 +271,7 @@
\DeclareCaptionOption{labelformat}{\caption@setlabelformat{#1}}
\newcommand*\caption@setlabelformat[1]{%
\@ifundefined{caption@lfmt@#1}%
- {\caption@error{Undefined caption label format `#1'}}%
+ {\caption@Error{Undefined caption label format `#1'}}%
{\expandafter\let\expandafter\caption@lfmt\csname caption@lfmt@#1\endcsname}}
\DeclareCaptionLabelFormat{empty}{}
\DeclareCaptionLabelFormat{simple}{\bothIfFirst{#1}{\nobreakspace}#2}
@@ -289,7 +289,7 @@
\DeclareCaptionOption{labelseparator}{\caption@setlabelseparator{#1}}
\newcommand*\caption@setlabelseparator[1]{%
\@ifundefined{caption@lsep@#1}%
- {\caption@error{Undefined caption label separator `#1'}}%
+ {\caption@Error{Undefined caption label separator `#1'}}%
{\expandafter\let\expandafter\caption@iflf\csname caption@iflf@#1\endcsname
\expandafter\let\expandafter\caption@lsep\csname caption@lsep@#1\endcsname}}
\DeclareCaptionLabelSeparator{none}{}
@@ -307,7 +307,7 @@
\DeclareCaptionOption{textformat}{\caption@settextformat{#1}}
\newcommand*\caption@settextformat[1]{%
\@ifundefined{caption@tfmt@#1}%
- {\caption@error{Undefined caption text format `#1'}}%
+ {\caption@Error{Undefined caption text format `#1'}}%
{\expandafter\let\expandafter\caption@tfmt\csname caption@tfmt@#1\endcsname}}
\DeclareCaptionTextFormat{simple}{#1}
\DeclareCaptionTextFormat{period}{#1.}
@@ -318,7 +318,7 @@
\DeclareCaptionOption{justification}{\caption@setjustification{#1}}
\newcommand*\caption@setjustification[1]{%
\@ifundefined{caption@hj@#1}%
- {\caption@error{Undefined caption justification `#1'}}%
+ {\caption@Error{Undefined caption justification `#1'}}%
{\expandafter\let\expandafter\caption@hj\csname caption@hj@#1\endcsname}}
\DeclareCaptionJustification{justified}{}
\DeclareCaptionJustification{centering}{\centering}
@@ -350,7 +350,7 @@
\DeclareCaptionJustification{RaggedRight}{%
\caption@ragged\RaggedRight\raggedright}
\newcommand*\caption@ragged{%
- \caption@Info{We need ragged2e}%
+ \caption@Debug{We need ragged2e}%
\protected@write\@auxout{}{\string\caption@newlabel{ragged2e}{}}%
\global\let\caption@ragged\caption@@ragged
\caption@@ragged}
@@ -362,8 +362,10 @@
\global\@namedef{caption\string#1}}{}%
#2}
\AtBeginDocument{%
- \@ifundefined{caption@ragged2e}{}{%
- \caption@Info{We load ragged2e}%
+ \@ifundefined{caption@ragged2e}{%
+ \let\caption@@ragged\@secondoftwo % suppress warning above
+ }{%
+ \caption@Debug{We load ragged2e}%
\IfFileExists{ragged2e.sty}{%
\RequirePackage{ragged2e}\let\caption@@ragged\@firstoftwo}{}%
}}
@@ -418,7 +420,7 @@
}{\caption@ifinlist{#1}{a,auto}{%
\let\caption@position\@undefined
}{%
- \caption@error{Undefined caption position `#1'}%
+ \caption@Error{Undefined caption position `#1'}%
}}}}}
\let\caption@defaultpos\@secondoftwo
\newcommand\caption@iftop{%
diff --git a/Master/texmf-dist/tpm/caption.tpm b/Master/texmf-dist/tpm/caption.tpm
index de1a3f02109..3a1f8652718 100644
--- a/Master/texmf-dist/tpm/caption.tpm
+++ b/Master/texmf-dist/tpm/caption.tpm
@@ -3,7 +3,7 @@
<rdf:Description about="http://texlive.dante.de/texlive/Package/caption.zip">
<TPM:Name>caption</TPM:Name>
<TPM:Type>Package</TPM:Type>
- <TPM:Date>2007/04/11 23:10:07</TPM:Date>
+ <TPM:Date>2007/04/22 17:15:29</TPM:Date>
<TPM:Version>3.0f</TPM:Version>
<TPM:Creator>rahtz</TPM:Creator>
<TPM:Title>
@@ -17,23 +17,23 @@ captions, as well as backward compatibility.
[description copied from TeX Catalogue]
</TPM:Description>
<TPM:Author>Harald Axel Sommerfeldt</TPM:Author>
- <TPM:Size>1027051</TPM:Size>
+ <TPM:Size>1023870</TPM:Size>
<TPM:License></TPM:License>
<TPM:Build/>
- <TPM:RunFiles size="56394">
+ <TPM:RunFiles size="56352">
texmf-dist/tex/latex/caption/caption.sty
texmf-dist/tex/latex/caption/caption2.sty
texmf-dist/tex/latex/caption/caption3.sty
texmf-dist/tpm/caption.tpm
</TPM:RunFiles>
- <TPM:DocFiles size="735157">
+ <TPM:DocFiles size="735106">
texmf-dist/doc/latex/caption/anleitung.pdf
texmf-dist/doc/latex/caption/anleitung.tex
texmf-dist/doc/latex/caption/caption.pdf
texmf-dist/doc/latex/caption/caption2.pdf
texmf-dist/doc/latex/caption/manual.tex
</TPM:DocFiles>
- <TPM:SourceFiles size="232319">
+ <TPM:SourceFiles size="231400">
texmf-dist/source/latex/caption/caption.dtx
texmf-dist/source/latex/caption/caption.ins
texmf-dist/source/latex/caption/caption2.dtx