Math macros, how to use?

1999-04-20 Thread John Ya-ya
Hi, all... Sorry to be posting here every day or so, but I've come across something that does not seem to work as documented. (It doesn't seem to work at all!) I read with interest the section in the User Guide on math macros. It seemed to me that this would allow me to define a macro,

Re: Math macros, how to use?

1999-04-21 Thread Etienne Grossmann
Hello, so, you do "M-x msol" , then write a 'm' with a dot, then use, in math-mode, the macro '\msol', which appears fine on the screen, but LaTeX won't compile? Strange indeed. Could you create a short file, with e.g. just the macro definition and an instance of it, check whether LaTeX s

Re: Math macros, how to use?

1999-04-21 Thread Herbert
John Ya-ya wrote: > > It seemed to me that this would allow me to define a macro, say "msol", to save > me from having to type a lot when I want to insert the M-with-subscripted-odot > that represents a "solar mass". Ok, I defined the macro as directed, and went > into a math box and typed "\mso

Possible bug - Re: Math macros, how to use?

1999-04-21 Thread John Ya-ya
On 21-Apr-99 Etienne Grossmann wrote: > > Hello, > > so, you do "M-x msol" , then write a 'm' with a dot, then use, > in math-mode, the macro '\msol', which appears fine on the screen, > but LaTeX won't compile? Strange indeed. Exactly. Well, not exactly -- "M-x math-macro msol",

Re: Possible bug - Re: Math macros, how to use?

1999-04-21 Thread Etienne Grossmann
Hello again, indeed, LyX "sees" all the macros that have been defined in all its open documents (and apparently in those it has closed too). Sorry for not having thought about that ... Etienne

Re: Possible bug - Re: Math macros, how to use?

1999-04-22 Thread Jean-Marc Lasgouttes
> "John" == John Ya-ya <[EMAIL PROTECTED]> writes: John> I did that and it works. However, in so doing I was John> inspired to try changing the *Style* of the line on which I had John> defined the macro, and I discovered something. A math macro John> must be defined using the "Stand

Re: Possible bug - Re: Math macros, how to use?

1999-04-22 Thread John Ya-ya
On 21-Apr-99 Etienne Grossmann wrote: > indeed, LyX "sees" all the macros that have been defined in all > its open documents (and apparently in those it has closed too). > > Sorry for not having thought about that ... That's ok -- now that it is known, it can be fixed! :) It might