]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathMacroTemplate.h
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / mathed / MathMacroTemplate.h
index 4a496e0857f967c9ea5fa8b2081e9abca2a2a22b..4e5fc721748ea131b963c488b384701f1671c6fb 100644 (file)
@@ -22,6 +22,9 @@
 
 namespace lyx {
 
+class OutputParams;
+class XHTMLStream;
+
 /// This class contains the macro definition.
 class MathMacroTemplate : public InsetMathNest {
 public:
@@ -49,11 +52,13 @@ public:
        void write(WriteStream & os) const;
        /// Output LaTeX code, but assume that the macro is not definied yet
        /// if overwriteRedefinition is true
-       void write(WriteStream & os, bool overwriteRedefinition) const;
+       int write(WriteStream & os, bool overwriteRedefinition) const;
+       /// Nothing happens. This is simply to suppress the default output.
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
-       bool noFontChange() const { return true; }
+       bool inheritFont() const { return false; }
 
        ///
        docstring name() const;
@@ -99,7 +104,7 @@ public:
        ///
        void infoize(odocstream & os) const;
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
+       std::string contextMenuName() const;
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);