More Math ML fixes. Using <mfenced> seems to be a bad idea, and the <mo>

version is claimed to be completely equivalent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32543 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-16 15:12:34 +00:00
parent 9e149b8919
commit 7aeda251ce
3 changed files with 4 additions and 4 deletions

View File

@ -163,8 +163,8 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const
void InsetMathDelim::mathmlize(MathStream & os) const
{
os << "<mfenced open=\"" << left_ << "\" close=\""
<< right_ << "\">" << cell(0) << "</mfenced>";
os << "<mo>" << left_ << "</mo>"
<< cell(0) << "<mo>" << right_ << "</mo>";
}

View File

@ -124,7 +124,7 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
void InsetMathExFunc::mathmlize(MathStream & os) const
{
os.os() << "<mi>" << name_ << "</mi>" << "&af;";
os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
os << cell(0);
}

View File

@ -77,7 +77,7 @@ void InsetMathLim::mathmlize(MathStream & os) const
os << "<munder>"
<< "<mo form='prefix'>" << "lim" << "</mo>"
<< "<mrow>" << cell(1) << "<mo>&rarr;</mo>" << cell(2) << "</mrow></munder>"
<< "<mfenced open='(' close=')'>" << cell(0) << "</mfenced>";
<< "<mo>(</mo>" << cell(0) << "<mo>)</mo>" ;
}