Color doesn't do anything at this point. The colors are given in LaTeX
format. Do we know how to convert these to HTML format?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33954
a592a061-630c-0410-9148-
cb99ea01b6c8
void validate(LaTeXFeatures & features) const;
///
void write(WriteStream & os) const;
+ /// FIXME XHTML For now, we do nothing with color.
+ void mathmlize(MathStream &) const {}
+ /// FIXME XHTML For now, we do nothing with color.
+ void htmlize(HtmlStream &) const {}
+ ///
/// write normalized content
void normalize(NormalStream & ns) const;
///
}
-void InsetMathComment::mathematica(MathematicaStream &) const
-{}
-
-
-void InsetMathComment::octave(OctaveStream &) const
-{}
-
-
void InsetMathComment::mathmlize(MathStream & os) const
{
os << MTag("comment") << cell(0) << cell(1) << ETag("comment");
}
+void InsetMathComment::htmlize(HtmlStream & os) const
+{
+ os << "<!-- " << cell(0) << cell(1) << " -->";
+}
+
+
void InsetMathComment::infoize(odocstream & os) const
{
os << "Comment";
///
void maple(MapleStream &) const;
///
- void mathematica(MathematicaStream &) const;
+ void mathematica(MathematicaStream &) const {}
///
- void octave(OctaveStream &) const;
+ void octave(OctaveStream &) const {}
///
void mathmlize(MathStream &) const;
///
+ void htmlize(HtmlStream &) const;
+ ///
void infoize(odocstream & os) const;
///
InsetCode lyxCode() const { return MATH_COMMENT_CODE; }