mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fix reading of mathrm etc as reported bei Norbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
23870e9920
commit
60ccb16240
@ -942,11 +942,8 @@ void Parser::parse_into(MathArray & array, unsigned flags, MathTextCodes code)
|
||||
// theCatcode[' '] = catLetter;
|
||||
//}
|
||||
|
||||
MathTextCodes t = static_cast<MathTextCodes>(l->id);
|
||||
MathArray ar;
|
||||
parse_into(ar, FLAG_ITEM, t);
|
||||
for (MathArray::iterator it = ar.begin(); it != ar.end(); ++it)
|
||||
(*it)->handleFont(t);
|
||||
parse_into(ar, FLAG_ITEM, static_cast<MathTextCodes>(l->id));
|
||||
array.push_back(ar);
|
||||
|
||||
// undo catcode changes
|
||||
|
Loading…
Reference in New Issue
Block a user