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 package the module loads?
Yes.
If so, then it will be passed down the line automatically, if entered
as a class option.
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.
Hmm. In that case, I don't see any way to do this, unless you can
declare the option when you load the package.
rh