MBox is currently inactive, but in case it becomes active....

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32713 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-31 20:44:09 +00:00
parent eb17e9c362
commit c95c30184d
3 changed files with 10 additions and 2 deletions

View File

@ -54,13 +54,13 @@ Math
isues, and not all the insets work. Here are the ones I know still need work:
- AMSArray
- Array
- Box: There is a general issue here with text mode nesting. See the FIXME attached
to the SetMode class.
- Cases
- Diff: Code exists, but I do not know if it is right.
- Binom (in Frac): None of these tags exist in MathML 2.0. We'll
just output a fraction with delimiters.
- Lefteqn
- MBox: There is a general issue here with text mode nesting. See the FIXME attached
to the SetMode class.
- Overset: Use <mover>.
- Par?
- Phantom: There is some support for this in MathML....

View File

@ -118,4 +118,10 @@ void InsetMathMBox::cursorPos(BufferView const & bv,
}
void InsetMathMBox::mathmlize(MathStream & ms) const
{
SetMode textmode(ms, true, from_ascii("class='mbox'"));
ms << cell(0);
}
} // namespace lyx

View File

@ -48,6 +48,8 @@ public:
///
int latex(odocstream & os, OutputParams const & runparams) const;
///
void mathmlize(MathStream &) const;
///
Text * getText(int) const;
///
void cursorPos(BufferView const & bv, CursorSlice const & sl,