]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
tex2lyx: support for \item with opt arg in itemize environment
[lyx.git] / src / mathed / MathMacroTemplate.h
index 4e5fc721748ea131b963c488b384701f1671c6fb..0bb3d4db0be430b2be23042a2a58ccd205a7e09f 100644 (file)
@@ -17,8 +17,6 @@
 #include "MacroTable.h"
 #include "MathData.h"
 
-#include "support/types.h"
-
 
 namespace lyx {
 
@@ -56,7 +54,7 @@ public:
        /// Nothing happens. This is simply to suppress the default output.
        docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
-       int plaintext(odocstream &, OutputParams const &) const;
+       int plaintext(odocstringstream &, OutputParams const &, size_t) const;
        ///
        bool inheritFont() const { return false; }
 
@@ -89,7 +87,7 @@ public:
        virtual void validate(LaTeXFeatures &) const;
 
        /// decide whether its a redefinition
-       void updateToContext(MacroContext const & mc) const;
+       void updateToContext(MacroContext const & mc);
 
        ///
        void draw(PainterInfo & pi, int x, int y) const;
@@ -166,7 +164,7 @@ private:
        /// (re)newcommand or def
        mutable MacroType type_;
        /// defined before already?
-       mutable bool redefinition_;
+       bool redefinition_;
        ///
        void createLook(int args) const;
        ///