don't ignore ',' after '\rho'

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-02-15 16:06:22 +00:00
parent 57eee4cdd6
commit 56f1c43ecc
2 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,7 @@ void MathCharInset::handleFont(MathTextCodes t)
code_ = (code_ == t) ? LM_TC_VAR : t; code_ = (code_ == t) ? LM_TC_VAR : t;
} }
void MathCharInset::validate(LaTeXFeatures & features) const void MathCharInset::validate(LaTeXFeatures & features) const
{ {
// Make sure amssymb is put in preamble if Blackboard Bold or // Make sure amssymb is put in preamble if Blackboard Bold or
@ -130,6 +131,7 @@ void MathCharInset::validate(LaTeXFeatures & features) const
features.require("amssymb"); features.require("amssymb");
} }
bool MathCharInset::match(MathInset * p) const bool MathCharInset::match(MathInset * p) const
{ {
MathCharInset const * q = p->asCharInset(); MathCharInset const * q = p->asCharInset();

View File

@ -1391,6 +1391,8 @@ bool MathCursor::interpret(char c)
if (c == '\\') if (c == '\\')
insert(c, LM_TC_TEX); insert(c, LM_TC_TEX);
else
insert(c, lastcode_);
return true; return true;
} }