[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#432517: (fwd) Bug#432517: Just upgraded from tetex to texlive. Latex package "caption" no longer works

Dear Hilmar and Arthur,

The caption package is only adapted to specific document classes which
are listed in the caption package documentation, section "Document
classes & Babel support". The aastex document class is not on the list.

But since I changed the name of the command \captionbox to
\caption@parbox in version v3.1f (2007/11/11) to avoid incompatibilities
with existing \captionbox definitions, newer versions of the caption
package hopefully make less trouble when used with the aastex document

In fact the example below compiles fine when using the actual version
v3.1j (2008/08/24) of the caption package. (It results in the warning
"Package caption Warning: Unsupported document class (or package)
detected, usage of the caption package is not recommended. See the
caption package documentation for explanation." but this is OK and

Warm regards,

On Sat, 29 Nov 2008 23:04:11 +0100, "Hilmar Preusse" <hille42@web.de>
> Dear Axel, dear Arthur,
> down here in the Debian Bug tracking system we got bug report a while
> ago. It tells that the compilation of documents fails after upgrading
> to TL 2007. The minimal example is:
> \documentclass{aastex}
> \usepackage[labelformat=simple]{caption}
> \title{Test}
> \author{Author}
> \begin{document}
> \maketitle
> \begin{abstract}
> abstract
> \end{abstract}
> \section{section 1}
> bla bla
> \end{document}
> It fails with the error message: \captionbox already defined.
> Note that not a standard class is used but the "American Astronomical
> Society format", which seems to contain an own definition of
> \captionbox. When using the standard article class the problem
> disappears. Hence I guess it is the fault of the fault of the aas
> class.
> Please discuss this topic and provide a possible approach how to
> solve the problem.
> Thanks,
>   Hilmar
> -- 
> sigmentation fault

Reply to: