]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMath.h
Do not throw exceptions here either. See r22806.
[lyx.git] / src / mathed / InsetMath.h
index 12ea7ab06ce504539e0ed296305b843d6d9117e1..e043a733fbc95a4a7e013339ac7129dd3453b4eb 100644 (file)
@@ -73,6 +73,7 @@ class InsetMathUnknown;
 
 class InsetMathRef;
 
+class HtmlStream;
 class NormalStream;
 class OctaveStream;
 class MapleStream;
@@ -186,8 +187,13 @@ public:
        virtual void maxima(MaximaStream &) const;
        /// write content as something readable by Mathematica
        virtual void mathematica(MathematicaStream &) const;
-       /// write content as something resembling MathML
-       virtual docstring mathmlize(MathStream &) const;
+       /// write content as MathML
+       virtual void mathmlize(MathStream &) const;
+       /// write content as HTML, best we can.
+       /// the idea for this, and some of the details, come from
+       /// eLyXer, written by Alex Fernandez. no code is borrowed. rather,
+       /// we try to mimic how eLyXer outputs some math.
+       virtual void htmlize(HtmlStream &) const;
        /// write content as something readable by Octave
        virtual void octave(OctaveStream &) const;