mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
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:
parent
eb17e9c362
commit
c95c30184d
@ -54,13 +54,13 @@ Math
|
|||||||
isues, and not all the insets work. Here are the ones I know still need work:
|
isues, and not all the insets work. Here are the ones I know still need work:
|
||||||
- AMSArray
|
- AMSArray
|
||||||
- Array
|
- Array
|
||||||
|
- Box: There is a general issue here with text mode nesting. See the FIXME attached
|
||||||
|
to the SetMode class.
|
||||||
- Cases
|
- Cases
|
||||||
- Diff: Code exists, but I do not know if it is right.
|
- 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
|
- Binom (in Frac): None of these tags exist in MathML 2.0. We'll
|
||||||
just output a fraction with delimiters.
|
just output a fraction with delimiters.
|
||||||
- Lefteqn
|
- Lefteqn
|
||||||
- MBox: There is a general issue here with text mode nesting. See the FIXME attached
|
|
||||||
to the SetMode class.
|
|
||||||
- Overset: Use <mover>.
|
- Overset: Use <mover>.
|
||||||
- Par?
|
- Par?
|
||||||
- Phantom: There is some support for this in MathML....
|
- Phantom: There is some support for this in MathML....
|
||||||
|
@ -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
|
} // namespace lyx
|
||||||
|
@ -48,6 +48,8 @@ public:
|
|||||||
///
|
///
|
||||||
int latex(odocstream & os, OutputParams const & runparams) const;
|
int latex(odocstream & os, OutputParams const & runparams) const;
|
||||||
///
|
///
|
||||||
|
void mathmlize(MathStream &) const;
|
||||||
|
///
|
||||||
Text * getText(int) const;
|
Text * getText(int) const;
|
||||||
///
|
///
|
||||||
void cursorPos(BufferView const & bv, CursorSlice const & sl,
|
void cursorPos(BufferView const & bv, CursorSlice const & sl,
|
||||||
|
Loading…
Reference in New Issue
Block a user