]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.C
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / mathed / math_factory.C
index b0fa5e7dffbf88135b5591bf498b9e2c1f37d5c8..ad680b28d1459ab9b68d3cb9a987862b8277ee06 100644 (file)
@@ -1,4 +1,3 @@
-
 #include <config.h>
 
 #include "math_parser.h"
 #include "math_fontoldinset.h"
 #include "math_fracinset.h"
 #include "math_kerninset.h"
-#include "math_inferinset.h"
 #include "math_lefteqninset.h"
 #include "math_macro.h"
 #include "math_macrotable.h"
 #include "math_macrotemplate.h"
 #include "math_macroarg.h"
+#include "math_makeboxinset.h"
 #include "math_parboxinset.h"
 #include "math_rootinset.h"
 #include "math_sizeinset.h"
 #include "math_undersetinset.h"
 #include "math_unknowninset.h"
 #include "math_xarrowinset.h"
-#include "math_xymatrixinset.h"
-#include "math_xyarrowinset.h"
 
 //#include "insets/insetref.h"
 #include "ref_inset.h"
 
 #include "metricsinfo.h"
+#include "math_data.h"
 #include "debug.h"
 #include "math_support.h"
 #include "Lsstream.h"
 #include <map>
 #include <fstream>
 
-bool has_math_fonts;
+using namespace lyx::support;
 
 using std::endl;
 
+bool has_math_fonts;
+
 
 namespace {
 
@@ -259,10 +259,10 @@ MathAtom createMathInset(string const & s)
                return MathAtom(new MathMacroArgument(s[2] - '0'));
        if (s == "framebox")
                return MathAtom(new MathFrameboxInset);
+       if (s == "makebox")
+               return MathAtom(new MathMakeboxInset);
        if (s == "kern")
                return MathAtom(new MathKernInset);
-       if (s == "xymatrix")
-               return MathAtom(new MathXYMatrixInset);
        if (s == "xrightarrow" || s == "xleftarrow")
                return MathAtom(new MathXArrowInset(s));
        if (s == "split" || s == "gathered" || s == "aligned")
@@ -324,4 +324,3 @@ bool createMathInset_fromDialogStr(string const & str, MathArray & ar)
 
        return ar[0].nucleus();
 }
-