Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng
On Mon, Oct 07, 2002 at 05:43:41PM +0200, Andre Poenitz wrote: > Yes, that would be a good idea if we want to stick to the guessing > mechanism. I did not know that this has already been discussed in lyx-devl, and I do not have any better idea than you guys. If lyx refuses to guess, maybe it ca

Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz
On Mon, Oct 07, 2002 at 05:39:30PM +0200, Herbert Voss wrote: > I do not agree! You have most of the amsstuff in lib/symbols, f.ex. > ... > hexagonwasy 55 0 xx Nevertheless it breaks if a user does not want AMS but uses a "hexagon" macro of his own. In this case LyX

Re: cases environment does not exist in the default document style.

2002-10-07 Thread Herbert Voss
Andre Poenitz wrote: > On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote: > >>I do not know how to "swith on" AMS ... but this is not a big deal to >>me. Maybe lyx can solve this problem by: once a user uses cases >>environment, lyx adds ams support automatically. >> > > This problem i

Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz
On Mon, Oct 07, 2002 at 10:24:28AM -0500, Bo Peng wrote: > I do not know how to "swith on" AMS ... but this is not a big deal to > me. Maybe lyx can solve this problem by: once a user uses cases > environment, lyx adds ams support automatically. This problem is unsolvable by clever guessing.

Re: cases environment does not exist in the default document style.

2002-10-07 Thread Bo Peng
On Mon, Oct 07, 2002 at 10:04:02AM +0200, Andre Poenitz wrote: > On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote: > > This is not a big prolem but it would be better to avoid this kind of > > problem by adding amsmath to the default style. > No good as some people don't want AMS... > No

Re: cases environment does not exist in the default document style.

2002-10-07 Thread Andre Poenitz
On Sat, Oct 05, 2002 at 10:49:43PM -0500, Bo Peng wrote: > This is not a big prolem but it would be better to avoid this kind of > problem by adding amsmath to the default style. No good as some people don't want AMS... Note that you can "switch on" AMS using the preferences dialog. Andre' --

cases environment does not exist in the default document style.

2002-10-05 Thread Bo Peng
I start lyx, create a new document, insert math->cases environment, view dvi. I get two ERRORS! This is because the default document style article does not have amsmath. The solution is either adding \usepackage{amsmath} in the preamble or using another document style like article(AMS).