From: Richard Heck Date: Thu, 29 Jul 2010 15:48:01 +0000 (+0000) Subject: MathML and HTML definitely can't handle MathUnknown!! X-Git-Tag: 2.0.0~2886 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a7f7530bd21d123636868801458cf907903ba235;p=lyx.git MathML and HTML definitely can't handle MathUnknown!! git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35028 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathUnknown.cpp b/src/mathed/InsetMathUnknown.cpp index 2cd11c2a86..03c41462f0 100644 --- a/src/mathed/InsetMathUnknown.cpp +++ b/src/mathed/InsetMathUnknown.cpp @@ -86,9 +86,15 @@ void InsetMathUnknown::mathematica(MathematicaStream & os) const } -void InsetMathUnknown::mathmlize(MathStream & os) const +void InsetMathUnknown::mathmlize(MathStream &) const { - os << MTag("mi") << name_ << ETag("mi"); + throw MathExportException(); +} + + +void InsetMathUnknown::htmlize(HtmlStream &) const +{ + throw MathExportException(); } diff --git a/src/mathed/InsetMathUnknown.h b/src/mathed/InsetMathUnknown.h index b43bcfd672..0436be5df6 100644 --- a/src/mathed/InsetMathUnknown.h +++ b/src/mathed/InsetMathUnknown.h @@ -52,6 +52,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void octave(OctaveStream &) const; /// void finalize();