"subs(`\\,`=`\\cdot `,"
"eval(`latex/latex/*`)):\n";
- // replace spurious \\noalign{\\medskip} in table output
+ // remove spurious \\noalign{\\medskip} in matrix output
header +=
"`latex/latex/matrix`:= "
"subs(`\\\\\\\\\\\\noalign{\\\\medskip}` = `\\\\\\\\`,"
ostringstream os;
NormalStream ns(os);
os << "[" << extra << ' ';
- ar.writeNormal(ns);
+ ns << ar;
os << "]";
string data = os.str().c_str();
int InsetFormula::latex(Buffer const * buf, ostream & os, bool fragil, bool)
const
{
- MathWriteInfo wi(buf, os, fragil);
+ WriteStream wi(buf, os, fragil);
par_->write(wi);
return 1;
}
int InsetFormula::ascii(Buffer const * buf, ostream & os, int) const
{
- MathWriteInfo wi(buf, os, false);
+ WriteStream wi(buf, os, false);
par_->write(wi);
return 1;
}
MathHullInset const * InsetFormula::mat() const
{
- lyx::Assert(par_->asMatrixInset());
- return par_->asMatrixInset();
+ lyx::Assert(par_->asHullInset());
+ return par_->asHullInset();
}
MathHullInset * InsetFormula::mat()
{
- lyx::Assert(par_->asMatrixInset());
- return par_->asMatrixInset();
+ lyx::Assert(par_->asHullInset());
+ return par_->asHullInset();
}