bool InsetMathFont::lockedMode() const
{
- if (key_->extra == "forcetext")
- return true;
- return false;
+ return key_->extra == "forcetext";
}
-void InsetMathFont::write(WriteStream & os) const
+void InsetMathFont::write(TeXMathStream & os) const
{
// Close the mode changing command inserted during export if
// we are going to output another mode changing command that
// The fonts we want to support are listed in lib/symbols
-void InsetMathFont::mathmlize(MathStream & os) const
+void InsetMathFont::mathmlize(MathMLStream & ms) const
{
// FIXME These are not quite right, because they do not nest
// correctly. A proper fix would presumably involve tracking
// no support at present for textipa, textsc, noun
if (!variant.empty())
- os << MTag("mstyle", "mathvariant='" + variant + "'")
+ ms << MTag("mstyle", "mathvariant='" + variant + "'")
<< cell(0)
<< ETag("mstyle");
else
- os << cell(0);
+ ms << cell(0);
}