On Tue, May 14, 2002 at 11:58:30AM +0900, [EMAIL PROTECTED] wrote:
> In the book layout style, lyx seems to use amsmath (via, i.e., 
> \usepackage{amsmath}) whenever document contains equations(in-line, or 
> display style equations). Is this feature intended, or a bug ? I use 
> lyx-1.2.0cvs. 
> 
> The reason why I ask this queation is that I cannot break multi-line 
> equations in amsmath style. Can anybody teach me how to break multi-line 
> equations in amsmath?

There is an error in the logic. We probably should not try to "guess" when
to use AMS math but just use the preference setting (which may default to
"true", of course...)

Currently, AMS is used whenever the export functions think it is necessary
(and in a few cases more to be "safe"). This obviously slaps back in your
case.

I have been thinking about removing that "feature" for quite a while but
since nobody complained so far and there are two people or three who even
liked it, I have not done it - and now it's too late for 1.2 I suppose.

You can change that in your local copy by fixing the ams() function in
math_hullinset.C (comment out the 'return true' and use the currently
commented out return statement instead)

And please file a bug report on bugzilla.lyx.org to make sure the problem
will not be forgotten.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to