From 7aeda251ce348b8ca1ab76c5e9dd207dd20930fc Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 16 Dec 2009 15:12:34 +0000 Subject: [PATCH] More Math ML fixes. Using seems to be a bad idea, and the version is claimed to be completely equivalent. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32543 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathDelim.cpp | 4 ++-- src/mathed/InsetMathExFunc.cpp | 2 +- src/mathed/InsetMathLim.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp index 12688f1f58..fa1ab4da7e 100644 --- a/src/mathed/InsetMathDelim.cpp +++ b/src/mathed/InsetMathDelim.cpp @@ -163,8 +163,8 @@ void InsetMathDelim::mathematica(MathematicaStream & os) const void InsetMathDelim::mathmlize(MathStream & os) const { - os << "" << cell(0) << ""; + os << "" << left_ << "" + << cell(0) << "" << right_ << ""; } diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp index e4479275d0..25c8dcbaf9 100644 --- a/src/mathed/InsetMathExFunc.cpp +++ b/src/mathed/InsetMathExFunc.cpp @@ -124,7 +124,7 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const void InsetMathExFunc::mathmlize(MathStream & os) const { - os.os() << "" << name_ << "" << "⁡"; + os << "" << name_ << ""; os << cell(0); } diff --git a/src/mathed/InsetMathLim.cpp b/src/mathed/InsetMathLim.cpp index 718d923b19..a5eae28bb7 100644 --- a/src/mathed/InsetMathLim.cpp +++ b/src/mathed/InsetMathLim.cpp @@ -77,7 +77,7 @@ void InsetMathLim::mathmlize(MathStream & os) const os << "" << "" << "lim" << "" << "" << cell(1) << "" << cell(2) << "" - << "" << cell(0) << ""; + << "(" << cell(0) << ")" ; }