> I don't think we should limit the subfig capabilities for the sake of a
> package we don't support. I don't use caption and I _need_ subfig's caption
> options anyway.

caption is one of the most popular LaTeX-packages, so we can expect that many users load it in the preamble. The EmbeddedObjects manual currently doesn't compile due to this issue.

What subfig caption options do you need? I'm asking because a document should have consistent caption formats - for all float types. There are 2 ways of getting this:
- using caption
- using the document class caption options, like for koma-script.

When I use subfig's own caption settings, I only change the caption format of subfloats while other captions will look different. This can also no be fixed since caption can currently not loaded in the preamble.

> IMO, people who use the caption package have to pass "caption=false" to the
> global options.

This doesn't work because this option is also a valid option of the caption package leading to LaTeX errors. The caption manual explicitely states that the option must be given to subfig and NOT to caption.

> A better solution, of course, would be caption package support.

I fear this is not easly possible as this interferes with caption commands of document classes. I found a lot of bugs in the past in the caption package and it is still very sensitive concerning interferences to other LaTeX-packages and the loading order in the preamble. So if possible I would postpone this to LyX 1.7.

regards Uwe

Reply via email to