#include <ostream>
-
namespace lyx {
InsetMathTabular::InsetMathTabular(docstring const & name, int m, int n)
void InsetMathTabular::write(WriteStream & os) const
{
+ ModeSpecifier specifier(os, TEXT_MODE);
+
if (os.fragile())
os << "\\protect";
os << "\\begin{" << name_ << '}';