X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathMatrix.cpp;h=54a68bd558050f7d45598d45f5e5c1c6badaa7c9;hb=4ed0312c51704780af1c452d3a82a84171b3725a;hp=72d58d3d05c376726de046fb42f651b1c40aa654;hpb=649755f48180b0466cdf212178dc9bdcc5d18210;p=lyx.git diff --git a/src/mathed/InsetMathMatrix.cpp b/src/mathed/InsetMathMatrix.cpp index 72d58d3d05..54a68bd558 100644 --- a/src/mathed/InsetMathMatrix.cpp +++ b/src/mathed/InsetMathMatrix.cpp @@ -94,9 +94,10 @@ void InsetMathMatrix::mathematica(MathematicaStream & os) const void InsetMathMatrix::mathmlize(MathMLStream & ms) const { - ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>" - << convertDelimToXMLEscape(left_, ms.xmlMode()) - << "" + // lspace='3/18em', but fractions are not allowed. + ms << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true' lspace='0.1666em'") + << convertDelimToXMLEscape(left_) + << ETagInline("mo") << MTag("mtable"); for (row_type row = 0; row < nrows(); ++row) { ms << MTag("mtr"); @@ -113,9 +114,9 @@ void InsetMathMatrix::mathmlize(MathMLStream & ms) const ms << ETag("mtr"); } ms << ETag("mtable") - << "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true' lspace='thinmathspace'>" - << convertDelimToXMLEscape(right_, ms.xmlMode()) - << ""; + << MTagInline("mo", "form='postfix' fence='true' stretchy='true' symmetric='true' lspace='0.1666em'") + << convertDelimToXMLEscape(right_) + << ETagInline("mo"); }