]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.h
Provide proper fallback if a bibliography processor is not found
[lyx.git] / src / mathed / MathParser.h
index c4ae6f89949bf3bb93e1b6edd82531a79743b805..9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "MathParser_flags.h"
 
-#include "support/types.h"
 #include "support/docstring.h"
 
 
@@ -31,10 +30,14 @@ class Lexer;
 ///
 class latexkeys {
 public:
+       ///
+       latexkeys() : hidden(false) {}
+       ///
+       char const * MathMLtype() const;
        /// name of the macro or primitive
        docstring name;
        /// name of a inset that handles that macro
-       docstring inset;
+       std::string inset;
        /**
         * The string or symbol to draw.
         * This is a string of length 1 if \p name is a known symbol, and
@@ -54,7 +57,10 @@ public:
        /// how is this called as XML entity in MathML?
        docstring xmlname;
        /// required LaTeXFeatures
-       docstring requires;
+       std::string requires;
+       /// Should this macro be hidden from autocompletion (since it requires
+       /// user preamble code)?
+       bool hidden;
 };