fix problem with \limits

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5774 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-12-04 11:22:18 +00:00
parent 6b2ffa421d
commit 1c708c3b8b
2 changed files with 8 additions and 3 deletions

View File

@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray & array, unsigned flags, MathTextCodes code)
}
p->ensure(up);
parse_into(p->cell(up), FLAG_ITEM);
p->limits(limits);
limits = 0;
if (limits) {
p->limits(limits);
limits = 0;
}
}
else if (t.character() == ']' && (flags & FLAG_BRACK_END))

View File

@ -68,7 +68,7 @@ What's new
- fix bug with graphics files which name contain a '.'
- fix bug in the xforms image loader, where images would be cropped by
a couple pixels
a few pixels
- when a viewer has not been found (set to "none"), remove the
corresponding View menu entry
@ -78,6 +78,9 @@ What's new
- fix bad latex output with math array environment included in an
eqnarray environment
- fix bug where \limits statements (as obtained in math with M-m l)
would not be read back from the lyx file.
- do not output labels in latex when numbering is off
- harmonize the behavior of delete and backspace in main text,