From 9ab24e95b9a0447c079fc5df86de9725ea11e53b Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 31 Dec 2009 16:39:37 +0000 Subject: [PATCH] MathML for InsetMathBoldSymbol. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32693 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/HTML/HTML.notes | 1 - src/mathed/InsetMathBoldSymbol.cpp | 6 ++++++ src/mathed/InsetMathBoldSymbol.h | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/development/HTML/HTML.notes b/development/HTML/HTML.notes index 21beba0e91..3760b72a30 100644 --- a/development/HTML/HTML.notes +++ b/development/HTML/HTML.notes @@ -54,7 +54,6 @@ Math isues, and not all the insets work. Here are the ones I know still need work: - AMSArray - Array - - BoldSymbol: Should be easy. - Box - Cases - Diff: Code exists, but I do not know if it is right. diff --git a/src/mathed/InsetMathBoldSymbol.cpp b/src/mathed/InsetMathBoldSymbol.cpp index 7382dc4dae..dd41bb0328 100644 --- a/src/mathed/InsetMathBoldSymbol.cpp +++ b/src/mathed/InsetMathBoldSymbol.cpp @@ -106,6 +106,12 @@ void InsetMathBoldSymbol::write(WriteStream & os) const } +void InsetMathBoldSymbol::mathmlize(MathStream & os) const +{ + os << "" << cell(0) << ""; +} + + void InsetMathBoldSymbol::infoize(odocstream & os) const { switch (kind_) { diff --git a/src/mathed/InsetMathBoldSymbol.h b/src/mathed/InsetMathBoldSymbol.h index 77d27bc965..6189cefeab 100644 --- a/src/mathed/InsetMathBoldSymbol.h +++ b/src/mathed/InsetMathBoldSymbol.h @@ -17,7 +17,6 @@ namespace lyx { - /// Inset for AMSTeX's \boldsymbol class InsetMathBoldSymbol : public InsetMathNest { public: @@ -43,6 +42,8 @@ public: /// void write(WriteStream & os) const; /// + void mathmlize(MathStream &) const; + /// void infoize(odocstream & os) const; /// InsetCode lyxCode() const { return MATH_BOLDSYMBOL_CODE; } -- 2.39.5