]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_hullinset.C
updates to latexfeatures stuff; allow empty \document_path
[lyx.git] / src / mathed / math_hullinset.C
index fa7bdd36ce8733793495f3e09b704cdc169a3b64..0e0db0d0d01ab24022ccb0f9d007e242723fcefd 100644 (file)
@@ -37,7 +37,7 @@ namespace {
 
        // returns position of first relation operator in the array
        // used for "intelligent splitting"
-       int firstRelOp(MathArray const & ar)
+       MathArray::size_type firstRelOp(MathArray const & ar)
        {
                for (MathArray::const_iterator it = ar.begin(); it != ar.end(); ++it)
                        if ((*it)->isRelOp())
@@ -219,7 +219,7 @@ bool MathHullInset::numbered(row_type row) const
 bool MathHullInset::ams() const
 {
        return true;
-
+/*
        return 
                objtype_ == LM_OT_ALIGN ||
                objtype_ == LM_OT_MULTLINE ||
@@ -227,6 +227,7 @@ bool MathHullInset::ams() const
                objtype_ == LM_OT_ALIGNAT ||
                objtype_ == LM_OT_XALIGNAT ||
                objtype_ == LM_OT_XXALIGNAT;
+*/
 }
 
 
@@ -260,7 +261,7 @@ bool MathHullInset::numberedType() const
 void MathHullInset::validate(LaTeXFeatures & features) const
 {
        if (ams())
-               features.require("amsstyle");
+               features.require("amsmath");
 
 
        // Validation is necessary only if not using AMS math.