]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMath.cpp
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / mathed / InsetMath.cpp
index a1cc8d8049e940914e2d1510ab5050f228c97e6d..5507a868c9985e3e2a9432fbe2a3701437eec6e6 100644 (file)
@@ -27,6 +27,12 @@ using namespace std;
 
 namespace lyx {
 
+docstring InsetMath::name() const
+{
+       return from_utf8("Unknown");
+}
+
+
 MathData & InsetMath::cell(idx_type)
 {
        static MathData dummyCell(&buffer());
@@ -130,6 +136,16 @@ void InsetMath::mathmlize(MathStream & os) const
 }
 
 
+void InsetMath::htmlize(HtmlStream & os) const
+{
+       os << "<!-- " << from_utf8(insetName(lyxCode())) << " -->";
+       os << MTag("span", "style='color: red;'");
+       NormalStream ns(os.os());
+       normalize(ns);
+       os << ETag("span");
+}
+
+
 HullType InsetMath::getType() const
 {
        return hullNone;