mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
d8a1720d56
commit
93c99335b0
@ -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
|
||||
{
|
||||
|
@ -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;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user