MathML for InsetMathBoldSymbol.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32693 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-31 16:39:37 +00:00
parent 0d73ffc2fb
commit 9ab24e95b9
3 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -106,6 +106,12 @@ void InsetMathBoldSymbol::write(WriteStream & os) const
}
void InsetMathBoldSymbol::mathmlize(MathStream & os) const
{
os << "<mstyle mathvariant='bold'>" << cell(0) << "</mstyle>";
}
void InsetMathBoldSymbol::infoize(odocstream & os) const
{
switch (kind_) {

View File

@ -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; }