}
+// FIXME XHTML
+// We need to do something about alignment here.
void InsetMathGrid::htmlize(HtmlStream & os, string attrib) const
{
bool const havetable = nrows() > 1 || ncols() > 1;
os << cell(index(0, 0));
return;
}
- os << MTag("table", "class='" + attrib + "'");
+ os << MTag("table", attrib);
for (row_type row = 0; row < nrows(); ++row) {
os << MTag("tr");;
for (col_type col = 0; col < ncols(); ++col) {
void InsetMathGrid::htmlize(HtmlStream & os) const
{
- htmlize(os, "mathtable");
+ htmlize(os, "class='mathtable'");
}
///
void mathmlize(MathStream &) const;
///
+ void htmlize(HtmlStream &) const;
+ ///
void octave(OctaveStream &) const;
///
InsetCode lyxCode() const { return MATH_MATRIX_CODE; }