#include "InsetMathXArrow.h"
#include "InsetMathXYMatrix.h"
#include "MathMacroArgument.h"
-#include "MathMacroTable.h"
+#include "MacroTable.h"
#include "MathParser.h"
#include "MathSupport.h"
bool math_font_available(docstring & name)
{
- LyXFont f;
+ Font f;
augmentFont(f, name);
// Do we have the font proper?
docstring const & inset = l->inset;
//lyxerr << " found inset: '" << inset << '\'' << endl;
if (inset == "ref")
- return MathAtom(new RefInset(l->name));
+ return MathAtom(new InsetMathRef(l->name));
if (inset == "overset")
return MathAtom(new InsetMathOverset);
if (inset == "underset")
return MathAtom(new InsetMathKern);
if (s.substr(0, 8) == "xymatrix") {
char spacing_code = '\0';
- LyXLength spacing;
+ Length spacing;
size_t const len = s.length();
size_t i = 8;
if (i < len && s[i] == '@') {
}
if (i < len && s[i] == '=') {
++i;
- spacing = LyXLength(to_ascii(s.substr(i)));
+ spacing = Length(to_ascii(s.substr(i)));
}
}
return MathAtom(new InsetMathXYMatrix(spacing, spacing_code));
}
-bool createInsetMath_fromDialogStr(docstring const & str, MathArray & ar)
+bool createInsetMath_fromDialogStr(docstring const & str, MathData & ar)
{
// An example str:
// "ref LatexCommand ref\nreference \"sec:Title\"\n\\end_inset\n\n";