mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-08 10:51:03 +00:00
Fix MathML for fractions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32551 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1a74f3d103
commit
96012a8859
@ -386,18 +386,10 @@ void InsetMathFrac::octave(OctaveStream & os) const
|
|||||||
|
|
||||||
void InsetMathFrac::mathmlize(MathStream & os) const
|
void InsetMathFrac::mathmlize(MathStream & os) const
|
||||||
{
|
{
|
||||||
switch (kind_) {
|
os << MTag("mfrac")
|
||||||
case DFRAC:
|
<< MTag("mrow") << cell(0) << ETag("mrow")
|
||||||
os << MTag("mdfrac") << cell(0) << cell(1) << ETag("mdfrac");
|
<< MTag("mrow") << cell(1) << ETag("mrow")
|
||||||
break;
|
<< ETag("mfrac");
|
||||||
case TFRAC:
|
|
||||||
os << MTag("mtfrac") << cell(0) << cell(1) << ETag("mtfrac");
|
|
||||||
break;
|
|
||||||
case FRAC:
|
|
||||||
default:
|
|
||||||
os << MTag("mfrac") << cell(0) << cell(1) << ETag("mfrac");
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user