On Sat, Sep 21, 2002 at 01:25:50PM +0300, Dekel Tsur wrote: > On Fri, Sep 20, 2002 at 05:15:10PM +0100, Misha Gavrilovich wrote: > > > > I am not able to understand how to define macros with arguments in LyX; > > like if I want to define \frac myself; > > I do not know how to enter an argument mark; if I follow the Users' Guide > > recommendations and try to enter either > > > > math-macro-arg 1 > > This is the correct way to add a macro argument (in 1.2.x, it is also possible > to type #1).
This way does not work; probably I was not clear enough; maybe it is a bug. Let me spell out what I do: 1) Go to buffer and type math-macro tov 1 2) there apeears an empty macro definition box 3) I type in math-macro-arg space and go out of box ! 4) or I type \math-macro-arg space and go out of box (the sequence is red until the first hyphen) Am I doing something wrong ? Or maybe I just should update to 1,2.x. PS: I also get often error messages like Math error: Attempting to clean a void array. Thank you for teh help, Misha > You will see a red #1 on screen. > When you use this macro, you will be able to enter the text you want instead of > the red #1.
