From 873c9ad4f8b8a7effa3323a56cfb1c41b7320575 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 17 Dec 2009 15:39:18 +0000 Subject: [PATCH] Fix up math scripts. Everything needs to go into . (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 --- src/mathed/InsetMathScript.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mathed/InsetMathScript.cpp b/src/mathed/InsetMathScript.cpp index 8fde3ec81b..7912f9b1b1 100644 --- a/src/mathed/InsetMathScript.cpp +++ b/src/mathed/InsetMathScript.cpp @@ -625,16 +625,18 @@ void InsetMathScript::mathmlize(MathStream & os) const os << MTag("msub"); if (nuc().size()) - os << nuc(); + os << MTag("mrow") << nuc() << ETag("mrow"); else - os << ""; + os << ""; if (u && d) - os << down() << up() << ETag("msubsup"); + os << MTag("mrow") << down() << ETag("mrow") + << MTag("mrow") << up() << ETag("mrow") + << ETag("msubsup"); else if (u) - os << up() << ETag("msup"); + os << MTag("mrow") << up() << ETag("mrow") << ETag("msup"); else if (d) - os << down() << ETag("msub"); + os << MTag("mrow") << down() << ETag("mrow") << ETag("msub"); }