]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.C
rename commandtags.h to lfuns.h and renumber/cleanup. Rebuild the tree !
[lyx.git] / src / mathed / math_casesinset.C
index 78b7b11ddcc4f01bacd4ece2e21b95f309e6930d..be93fe8f2c21f2bd868f3361a2917166862c688d 100644 (file)
@@ -5,6 +5,7 @@
 #include "math_parser.h"
 #include "math_mathmlstream.h"
 #include "math_support.h"
+#include "LaTeXFeatures.h"
 #include "support/LOstream.h"
 
 
@@ -53,10 +54,10 @@ void MathCasesInset::normalize(NormalStream & os) const
 }
 
 
-void MathCasesInset::maplize(MapleStream & os) const
+void MathCasesInset::maple(MapleStream & os) const
 {
        os << "cases(";
-       MathGridInset::maplize(os);
+       MathGridInset::maple(os);
        os << ')';
 }
 
@@ -65,3 +66,10 @@ void MathCasesInset::infoize(std::ostream & os) const
 {
        os << "Cases ";
 }
+
+
+void MathCasesInset::validate(LaTeXFeatures & features) const
+{
+       features.require("amsmath");
+       MathGridInset::validate(features);
+}