class MathMacro : public InsetMathNest {
public:
/// A macro can be built from an existing template
- MathMacro(docstring const & name);
+ MathMacro(Buffer * buf, docstring const & name);
///
virtual MathMacro * asMacro() { return this; }
///
///
void maple(MapleStream &) const;
///
- void mathmlize(MathStream &) const;
+ docstring mathmlize(MathStream &) const;
///
void octave(OctaveStream &) const;
///
}
/// Return the maximal number of arguments the macro is greedy for.
size_t appetite() const { return appetite_; }
+ ///
+ InsetCode lyxCode() const { return MATH_MACRO_CODE; }
protected:
friend class MathData;