ws << "\\mbox{\n";
TexRow texrow;
OutputParams runparams(&buffer().params().encoding());
- latexParagraphs(buffer(), text_.text(), ws.os(), texrow, runparams);
+ otexstream os(ws.os(), texrow);
+ latexParagraphs(buffer(), text_.text(), os, runparams);
ws.addlines(texrow.rows());
ws << "}";
} else {
}
-int InsetMathMBox::latex(odocstream & os, OutputParams const & runparams) const
+void InsetMathMBox::latex(otexstream & os, OutputParams const & runparams) const
{
os << "\\mbox{\n";
- TexRow texrow;
- latexParagraphs(buffer(), text_.text(), os, texrow, runparams);
+ latexParagraphs(buffer(), text_.text(), os, runparams);
os << "}";
- return texrow.rows();
}
void InsetMathMBox::mathmlize(MathStream & ms) const
{
- SetMode textmode(ms, true, "class='mbox'");
+ SetMode textmode(ms, true);
ms << cell(0);
}
void InsetMathMBox::htmlize(HtmlStream & ms) const
{
- SetHTMLMode textmode(ms, true, "class='mbox'");
+ SetHTMLMode textmode(ms, true);
ms << cell(0);
}