Re: Problem with optional arguments on macros

2011-08-01 Thread Paul Rubin
Your test file compiled correctly for me every time I tried (multiple tries within one LyX session, multiple LyX sessions, exported to .tex and compiled outside LyX). Paul

Re: Problem with optional arguments on macros

2011-08-01 Thread Paul Rubin
Your test file compiled correctly for me every time I tried (multiple tries within one LyX session, multiple LyX sessions, exported to .tex and compiled outside LyX). Paul

Re: Problem with optional arguments on macros

2011-08-01 Thread Paul Rubin
Your test file compiled correctly for me every time I tried (multiple tries within one LyX session, multiple LyX sessions, exported to .tex and compiled outside LyX). Paul

Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel
test3.lyx Description: Binary data I'm having a problem with optional arguments on macros. They are sometimes written into the TeX file as non-optional (i.e., in {} instead of []), which causes them to be ignored by the TeX compiler. This appears to be random -- different instances

Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel
test3.lyx Description: Binary data I'm having a problem with optional arguments on macros. They are sometimes written into the TeX file as non-optional (i.e., in {} instead of []), which causes them to be ignored by the TeX compiler. This appears to be random -- different instances

Problem with optional arguments on macros

2011-07-18 Thread Brandon Fogel
test3.lyx Description: Binary data I'm having a problem with optional arguments on macros. They are sometimes written into the TeX file as non-optional (i.e., in {} instead of []), which causes them to be ignored by the TeX compiler. This appears to be random -- different instances

Re: Arguments for Macros

2002-09-23 Thread Andre Poenitz
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

Re: Arguments for Macros

2002-09-23 Thread Andre Poenitz
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

Re: Arguments for Macros

2002-09-23 Thread Andre Poenitz
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

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
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

Re: Arguments for Macros

2002-09-21 Thread Misha Gavrilovich
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

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:40:52PM +0100, Misha Gavrilovich wrote: 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:

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 05:27:41PM +0100, Misha Gavrilovich wrote: This is wrong. You must enter a number after math-macro-arg! In your case, use math-macro-arg 1 (as the tov macro has only one argument). I think it is a bug somewhere; I am confused. The problem is that when I type

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
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

Re: Arguments for Macros

2002-09-21 Thread Misha Gavrilovich
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

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:40:52PM +0100, Misha Gavrilovich wrote: 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:

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 05:27:41PM +0100, Misha Gavrilovich wrote: This is wrong. You must enter a number after math-macro-arg! In your case, use math-macro-arg 1 (as the tov macro has only one argument). I think it is a bug somewhere; I am confused. The problem is that when I type

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
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 a

Re: Arguments for Macros

2002-09-21 Thread Misha Gavrilovich
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 kn

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 01:40:52PM +0100, Misha Gavrilovich wrote: > > > 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

Re: Arguments for Macros

2002-09-21 Thread Dekel Tsur
On Sat, Sep 21, 2002 at 05:27:41PM +0100, Misha Gavrilovich wrote: > > This is wrong. You must enter a number after math-macro-arg! > > In your case, use math-macro-arg 1 (as the tov macro has only one argument). > > I think it is a bug somewhere; I am confused. > The problem is that when I

Arguments for Macros

2002-09-20 Thread Misha Gavrilovich
Hi 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 or \math-macro-arg 1 it just types text

Arguments for Macros

2002-09-20 Thread Misha Gavrilovich
Hi 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 or \math-macro-arg 1 it just types text

Arguments for Macros

2002-09-20 Thread Misha Gavrilovich
Hi 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 or \math-macro-arg 1 it just types text