diff --git a/src/mathed/math_fracinset.C b/src/mathed/math_fracinset.C index 6e27e9079c..69f935689e 100644 --- a/src/mathed/math_fracinset.C +++ b/src/mathed/math_fracinset.C @@ -96,6 +96,12 @@ void MathFracInset::maplize(MapleStream & os) const } +void MathFracInset::octavize(OctaveStream & os) const +{ + os << '(' << cell(0) << ")/(" << cell(1) << ')'; +} + + void MathFracInset::mathmlize(MathMLStream & os) const { os << MTag("mfrac") << cell(0) << cell(1) << ETag("mfrac"); diff --git a/src/mathed/math_fracinset.h b/src/mathed/math_fracinset.h index b86509951d..771c2e9ece 100644 --- a/src/mathed/math_fracinset.h +++ b/src/mathed/math_fracinset.h @@ -35,6 +35,8 @@ public: /// void maplize(MapleStream &) const; /// + void octavize(OctaveStream &) const; + /// void mathmlize(MathMLStream &) const; public: /// diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index f5c8a204bf..0310eeb792 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -359,7 +359,7 @@ void MathScriptInset::write2(MathInset const * nuc, WriteStream & os) const } } else if (os.firstitem()) - lyxerr << "suppressing {} \n"; + lyxerr[Debug::MATHED] << "suppressing {} when writing\n"; else os << "{}";