namespace {
-typedef Translator<std::string, InsetBox::BoxType> BoxTranslator;
+typedef Translator<string, InsetBox::BoxType> BoxTranslator;
typedef Translator<docstring, InsetBox::BoxType> BoxTranslatorLoc;
BoxTranslator const init_boxtranslator()
}
+bool InsetBox::isMacroScope(Buffer const &) const
+{
+ BoxType btype = boxtranslator().find(params_.type);
+ return btype != Frameless || params_.inner_box;
+}
+
+
int InsetBox::latex(Buffer const & buf, odocstream & os,
OutputParams const & runparams) const
{