- add validate method and validate \tag[*] (bug 4586)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23483
a592a061-630c-0410-9148-
cb99ea01b6c8
}
+void InsetMathBox::validate(LaTeXFeatures & features) const
+{
+ if (name_ == "tag" || name_ == "tag*")
+ features.require("amsmath");
+ cell(0).validate(features);
+}
+
+
/////////////////////////////////////////////////////////////////////
//
void normalize(NormalStream & ns) const;
///
void infoize(odocstream & os) const;
+ ///
+ void validate(LaTeXFeatures & features) const;
private:
Inset * clone() const { return new InsetMathBox(*this); }