]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parser.h
remove symbol_def.h
[lyx.git] / src / mathed / math_parser.h
index f1ad6a87b539fe10a7294acc43e216ee3890b8ae..68ef43cce915ff519575b7ddc74a2acf6bf37754 100644 (file)
 #endif
 
 #include "LString.h"
-
 #include "math_defs.h"
-#include "symbol_def.h"
 
-class MathArray;
 class MathMatrixInset;
 class MathMacroTemplate;
 class LyXLex;
@@ -75,11 +72,17 @@ enum MathTokenEnum
        ///
        LM_TK_FUNCLIM,
        ///
-       LM_TK_BIGSYM,
+       LM_TK_CMR,
+       ///
+       LM_TK_CMSY,
+       ///
+       LM_TK_CMM,
+       ///
+       LM_TK_CMEX,
        ///
-       LM_TK_NOGLYPH,
+       LM_TK_MSA,
        ///
-       LM_TK_NOGLYPHB,
+       LM_TK_MSB,
        ///
        LM_TK_LABEL,
        ///
@@ -105,6 +108,8 @@ enum MathTokenEnum
        ///
        LM_TK_NOT,
        ///
+       LM_TK_KERN,
+       ///
        LM_TK_STACK
 };
 
@@ -112,19 +117,24 @@ enum MathTokenEnum
 ///
 struct latexkeys {
        ///
-       char const * name;
+       string name;
        ///
        short token;
        ///
        unsigned int id;
        ///
-       int numargs;
+       unsigned char latex_font_id;
+       ///
+       MathSymbolTypes type;
 };
 
 
 ///
 latexkeys const * in_word_set(string const & str);
 
+///
+void ReadSymbols(string const & file);
+
 MathMatrixInset * mathed_parse_normal(string const &);
 MathMatrixInset * mathed_parse_normal(std::istream &);
 MathMatrixInset * mathed_parse_normal(LyXLex &);