mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
9e149b8919
commit
7aeda251ce
@ -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>";
|
||||
}
|
||||
|
||||
|
||||
|
@ -124,7 +124,7 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
|
||||
|
||||
void InsetMathExFunc::mathmlize(MathStream & os) const
|
||||
{
|
||||
os.os() << "<mi>" << name_ << "</mi>" << "⁡";
|
||||
os << "<mi>" << name_ << "</mi><mo>⁡</mo>";
|
||||
os << cell(0);
|
||||
}
|
||||
|
||||
|
@ -77,7 +77,7 @@ void InsetMathLim::mathmlize(MathStream & os) const
|
||||
os << "<munder>"
|
||||
<< "<mo form='prefix'>" << "lim" << "</mo>"
|
||||
<< "<mrow>" << cell(1) << "<mo>→</mo>" << cell(2) << "</mrow></munder>"
|
||||
<< "<mfenced open='(' close=')'>" << cell(0) << "</mfenced>";
|
||||
<< "<mo>(</mo>" << cell(0) << "<mo>)</mo>" ;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user