On Fri, Feb 14, 2003 at 02:50:22PM +0100, Andre Poenitz wrote:
> 
> It only happens if there is a macro taking arguments which is neither
> defined as LyX math macro nor otherwise known to mathed _and_ if that
> argument needs its braces. 
> 
> In any case: try fixing it. You will be surprised how "trivial" this is.

Can you explain line 749 in math_parser.C ?
         if (p->nuc().size() == 1 && p->nuc().back()->asNestInset() &&
                     p->nuc().back()->extraBraces())
               p->nuc() = p->nuc().back()->asNestInset()->cell(0);

This line remove the brackets only in the case when you have
{...}_ or {...}^ (regardless of whether there are brackets after
the _ or ^ chars).
I can't see bad side effects when disabling this line
(and not the comment above this line...).

Reply via email to