+/**
+ * \file math_factory.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
#include <config.h>
+#include "math_factory.h"
#include "math_parser.h"
#include "math_arrayinset.h"
#include "math_amsarrayinset.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_oversetinset.h"
#include "math_parboxinset.h"
#include "math_rootinset.h"
#include "math_sizeinset.h"
//#include "insets/insetref.h"
#include "ref_inset.h"
-#include "metricsinfo.h"
#include "debug.h"
#include "math_support.h"
-#include "Lsstream.h"
+#include "support/std_sstream.h"
#include "support/filetools.h" // LibFileSearch
#include "support/lstrings.h"
#include "frontends/lyx_gui.h"
-#include <map>
#include <fstream>
-bool has_math_fonts;
+using namespace lyx::support;
using std::endl;
+bool has_math_fonts;
+
namespace {
inset << '\'' << endl;
if (inset == "ref")
return MathAtom(new RefInset(l->name));
+ if (inset == "overset")
+ return MathAtom(new MathOversetInset);
if (inset == "underset")
return MathAtom(new MathUndersetInset);
if (inset == "decoration")
return ar[0].nucleus();
}
-