Suppress XHTML output for math macros. (We used to get the default from

Inset.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33795 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-03-18 22:19:34 +00:00
parent d8a1720d56
commit 93c99335b0
2 changed files with 10 additions and 0 deletions

View File

@ -1233,6 +1233,11 @@ int MathMacroTemplate::write(WriteStream & os, bool overwriteRedefinition) const
}
docstring MathMacroTemplate::xhtml(XHTMLStream &, OutputParams const &) const
{
return docstring();
}
int MathMacroTemplate::plaintext(odocstream & os,
OutputParams const &) const
{

View File

@ -22,6 +22,9 @@
namespace lyx {
class OutputParams;
class XHTMLStream;
/// This class contains the macro definition.
class MathMacroTemplate : public InsetMathNest {
public:
@ -50,6 +53,8 @@ public:
/// Output LaTeX code, but assume that the macro is not definied yet
/// if overwriteRedefinition is true
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;
///