]> 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 63e1be259805ba96de904448c572a9a023d715fb..9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d 100644 (file)
@@ -30,12 +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
@@ -55,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;
 };