Jürgen Spitzmüller schrieb:
Herbert Voss wrote:
And TLC2 doesn't say that it should be used only with \DeclareOption.
It should be used in any case, where a document class and a user may
load the same package with different options.
Both clsguide and TLC2 are at least ambigouous in their state
Herbert Voss wrote:
> And TLC2 doesn't say that it should be used only with \DeclareOption.
> It should be used in any case, where a document class and a user may
> load the same package with different options.
Both clsguide and TLC2 are at least ambigouous in their statements:
http://tex.loria.fr
Jürgen Spitzmüller schrieb:
Uwe Stöhr wrote:
\PassOptionsToPackage{}{
Thanks for thehint. I implemented this now using this:
http://www.lyx.org/trac/changeset/24746
Are you sure this works?
- PassOptionsToPackage must be called before the package is loaded.
- According to clsguide and TLC2,
>> http://www.lyx.org/trac/changeset/24746
>
> Are you sure this works?
Yes, I tested this.
> - PassOptionsToPackage must be called before the package is loaded.
I was not sure about the loading order and both orders do work. I'll change
this as you suggested.
> - According to clsguide and TL
Jean-Marc Lasgouttes schrieb:
caption is one of the most popular LaTeX-packages, so we can expect
that many users load it in the preamble.
Where do you get such information? How do we measure 'popular'? I
would be surprised to learn that people are more excited about
customizing captions than
Uwe Stöhr <[EMAIL PROTECTED]> writes:
> caption is one of the most popular LaTeX-packages, so we can expect
> that many users load it in the preamble.
Where do you get such information? How do we measure 'popular'? I
would be surprised to learn that people are more excited about
customizing capt
Uwe Stöhr wrote:
> > \PassOptionsToPackage{}{
> Thanks for thehint. I implemented this now using this:
>
> http://www.lyx.org/trac/changeset/24746
Are you sure this works?
- PassOptionsToPackage must be called before the package is loaded.
- According to clsguide and TLC2, \PassOptionsToPackage a
> The problem is not the clash, it is the way LyX works. LyX should
> _always_ pass all own options to packages as
>
> \PassOptionsToPackage{}{http://www.lyx.org/trac/changeset/24746
regards Uwe
Uwe Stöhr wrote:
> OK now?
Fine with me. Thanks.
Jürgen
Uwe Stöhr schrieb:
Attached is a better patch:
subfig is now loaded behind the user-defined preamble for the reasons
described in the patch and we check if caption was loaded or not.
OK now?
+ // For the case that caption is loaded before subfig, there is the
subfig
+ // option "capti
Attached is a better patch:
subfig is now loaded behind the user-defined preamble for the reasons described in the patch and we
check if caption was loaded or not.
OK now?
regards Uwe
Index: BufferParams.cpp
===
--- BufferParams.c
Uwe Stöhr wrote:
> > [EMAIL PROTECTED]
> > \usepackage{subfig}%
> > }{%
> > \usepackage[caption=false]{caption}
> > }
>
> As I wrote above, this doesn't work, because subfig needs this option,
> cption must not have this option
Of course I meant
[EMAIL PROTECTED]
\usepackage{subfig}%
}{%
\usepack
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.
Then we have to find another solution. Load the subfig package after the
user preamble an
> I need access to the caption formatting features that require caption
> without actually loading caption itself.
Could yo please send me an example file for playing?
>> This doesn't work because this option is also a valid option of the
>> caption package leading to LaTeX errors. The caption m
Uwe Stöhr wrote:
> 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.
I need access to the ca
> 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 EmbeddedObjec
Uwe Stöhr wrote:
> OK?
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.
IMO, people who use the caption package have to pass "caption=false" to the
global options.
A better solutio
The attached patch fixed the problem described in the patch that the caption package cannot be used
by the users when the document contains subfloats. As the caption package is a very popular one, the
patch is necesary to keep existing documents like the EmbeddedObjects manual compilable with LyX
18 matches
Mail list logo