]> git.lyx.org Git - lyx.git/commitdiff
MBox is currently inactive, but in case it becomes active....
authorRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 20:44:09 +0000 (20:44 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 31 Dec 2009 20:44:09 +0000 (20:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32713 a592a061-630c-0410-9148-cb99ea01b6c8

development/HTML/HTML.notes
src/mathed/InsetMathMBox.cpp
src/mathed/InsetMathMBox.h

index 26447ae68eabd5c15950943f88ff5fa5675057c2..c126862184e73c90e03f001e2ca14b5d17cf4e81 100644 (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....
index cea14a23b950ece5e0bef5dc0ebd9c6be950579f..0210bc4b804a9209ac7c15b6812715ee50605a42 100644 (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
index e393f908ff585310cb2a4c9aa3cfe839093af3cb..1e5654e9401bcbdc814ecbc027cd4bd180ba9896 100644 (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,