void MathRootInset::Write(ostream & os)
-{
+{
+#ifdef USE_OSTREAM_ONLY
+ os << '\\' << name << '[';
+ uroot->Write(os);
+ os << "]{";
+ MathParInset::Write(os);
+ os << '}';
+#else
string output;
MathRootInset::Write(output);
os << output;
+#endif
}
-void MathRootInset::Write(string &outf)
+#ifndef USE_OSTREAM_ONLY
+void MathRootInset::Write(string & outf)
{
outf += '\\';
outf += name;
MathParInset::Write(outf);
outf += '}';
}
+#endif