Revert r33989. We do need this.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33990 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-03-31 21:02:10 +00:00
parent bab268352b
commit bf76659e67
3 changed files with 10 additions and 1 deletions

View File

@ -122,6 +122,13 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
}
void InsetMathExFunc::mathmlize(MathStream & os) const
{
os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
os << cell(0);
}
void InsetMathExFunc::octave(OctaveStream & os) const
{
os << name_ << '(' << cell(0) << ')';

View File

@ -43,6 +43,8 @@ public:
///
void mathematica(MathematicaStream &) const;
///
void mathmlize(MathStream &) const;
///
void octave(OctaveStream &) const;
///
InsetCode lyxCode() const { return MATH_EXFUNC_CODE; }

View File

@ -957,8 +957,8 @@ void extractStructure(MathData & ar, ExternalMath kind)
extractSums(ar);
extractNumbers(ar);
extractMatrices(ar);
extractFunctions(ar, kind);
if (kind != MATHML && kind != HTML) {
extractFunctions(ar, kind);
extractDets(ar);
extractDiff(ar);
extractExps(ar);