On 23/03/2011 10:19 PM, Richard Heck wrote:
On 03/22/2011 05:16 PM, Julien Rioux wrote:
You cannot have two modules which both redefine the output format.
This is a stupid patch. Something more clever might be done in the c++
code.

What happens if two modules do try to redefine the output format? Should
we issue a warning or something, or...?

rh




At the moment I think the document will have its output format determined from the module which is loaded last. Then the conversion chain starts from there. e.g. one of these will happen:

lyx > lilypond-book > latex > dvi
lyx > sweave > latex > dvi

but if we allow both modules together then we should really follow this chain:
lyx > sweave > lilypond-book > latex > dvi

and I don't see a way to provide this.

Note that users could still combine sweave and lilypond-book by having dedicated sweave-only and lilypond-only child documents. Or they could create a new module sweave+lilypond with corresponding converters. So preventing users from using both modules in the same lyx file doesn't sound too prohibitive.

--
Julien

Reply via email to