mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
Fix up math scripts. Everything needs to go into <mrow>. (This acts as a
general grouping mechanism, basically.) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e2d6ecff99
commit
873c9ad4f8
@ -625,16 +625,18 @@ void InsetMathScript::mathmlize(MathStream & os) const
|
|||||||
os << MTag("msub");
|
os << MTag("msub");
|
||||||
|
|
||||||
if (nuc().size())
|
if (nuc().size())
|
||||||
os << nuc();
|
os << MTag("mrow") << nuc() << ETag("mrow");
|
||||||
else
|
else
|
||||||
os << "<mrow/>";
|
os << "<mrow />";
|
||||||
|
|
||||||
if (u && d)
|
if (u && d)
|
||||||
os << down() << up() << ETag("msubsup");
|
os << MTag("mrow") << down() << ETag("mrow")
|
||||||
|
<< MTag("mrow") << up() << ETag("mrow")
|
||||||
|
<< ETag("msubsup");
|
||||||
else if (u)
|
else if (u)
|
||||||
os << up() << ETag("msup");
|
os << MTag("mrow") << up() << ETag("mrow") << ETag("msup");
|
||||||
else if (d)
|
else if (d)
|
||||||
os << down() << ETag("msub");
|
os << MTag("mrow") << down() << ETag("mrow") << ETag("msub");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user