mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +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
|
||||
{
|
||||
switch (kind_) {
|
||||
case DFRAC:
|
||||
os << MTag("mdfrac") << cell(0) << cell(1) << ETag("mdfrac");
|
||||
break;
|
||||
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;
|
||||
}
|
||||
os << MTag("mfrac")
|
||||
<< MTag("mrow") << cell(0) << ETag("mrow")
|
||||
<< MTag("mrow") << cell(1) << ETag("mrow")
|
||||
<< ETag("mfrac");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user