mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
57eee4cdd6
commit
56f1c43ecc
@ -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();
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user