]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_inset.C
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_inset.C
index 62cc723c085cb583b58e311d85d8ef78fa803ec0..065408881be4c724c456001a489c8c67b86bc039 100644 (file)
@@ -17,9 +17,6 @@
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation 
-#endif
 
 #include "math_inset.h"
 #include "Lsstream.h"
@@ -210,21 +207,28 @@ void MathInset::normalize(NormalStream & os) const
 }
 
 
-void MathInset::octavize(OctaveStream & os) const
+void MathInset::octave(OctaveStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
 }
 
 
-void MathInset::maplize(MapleStream & os) const
+void MathInset::maple(MapleStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
 }
 
 
-void MathInset::mathematicize(MathematicaStream & os) const
+void MathInset::maxima(MaximaStream & os) const
+{
+       MapleStream ns(os.os());
+       maple(ns);
+}
+
+
+void MathInset::mathematica(MathematicaStream & os) const
 {
        NormalStream ns(os.os());
        normalize(ns);
@@ -256,13 +260,6 @@ int MathInset::docbook(std::ostream &, bool) const
 }
 
 
-MathInset::result_type
-       MathInset::dispatch(FuncRequest const &, idx_type &, pos_type &) 
-{
-       return UNDISPATCHED;
-}
-
-
 string const & MathInset::getType() const
 {
        static string t("none");
@@ -281,7 +278,7 @@ string asString(MathArray const & ar)
        std::ostringstream os;
        WriteStream ws(os);
        ws << ar;
-       return os.str().c_str();
+       return STRCONV(os.str());
 }