Re: Options for modules

2009-07-22 Thread Paul A. Rubin
Jürgen Spitzmüller wrote: Paul A. Rubin wrote: How do I tell LyX that option X belongs to package Y? If I just put \usepackage{Y} in the module and X in the class options, LyX passes option X to the document class, not to package Y. The ClassOptions section doesn't seem to help here. Usually

Re: Options for modules

2009-07-22 Thread rgheck
On 07/22/2009 11:30 AM, rgheck wrote: Hmm. In that case, I don't see any way to do this, unless you can declare the option when you load the package. ...as Jurgen said. rh

Re: Options for modules

2009-07-22 Thread rgheck
On 07/22/2009 11:20 AM, Paul A. Rubin wrote: rgheck wrote: On 07/21/2009 02:55 PM, Paul A. Rubin wrote: Hi all, Is there any way to pass an optional argument (entered in Document -> Settings) to a module? I can't see one. (This relates to fixing bug 5058.) Do you mean pass it to a packa

Re: Options for modules

2009-07-22 Thread Jürgen Spitzmüller
Paul A. Rubin wrote: > How do I tell LyX that option X belongs to package Y? If I just put > \usepackage{Y} in the module and X in the class options, LyX passes > option X to the document class, not to package Y. The ClassOptions > section doesn't seem to help here. Usually (not always, though),

Re: Options for modules

2009-07-22 Thread Paul A. Rubin
rgheck wrote: On 07/21/2009 02:55 PM, Paul A. Rubin wrote: Hi all, Is there any way to pass an optional argument (entered in Document -> Settings) to a module? I can't see one. (This relates to fixing bug 5058.) Do you mean pass it to a package the module loads? Yes. If so, then it wi

Re: Options for modules

2009-07-21 Thread rgheck
On 07/21/2009 02:55 PM, Paul A. Rubin wrote: Hi all, Is there any way to pass an optional argument (entered in Document -> Settings) to a module? I can't see one. (This relates to fixing bug 5058.) Do you mean pass it to a package the module loads? If so, then it will be passed down the l

Options for modules

2009-07-21 Thread Paul A. Rubin
Hi all, Is there any way to pass an optional argument (entered in Document -> Settings) to a module? I can't see one. (This relates to fixing bug 5058.) Thanks, Paul