]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_mathmlstream.C
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_mathmlstream.C
index a412a217c12f7d8dc5ae766d1f0a7e71ec6b12c7..9f538ab799d20355821b370a6a4e178e2b5797d7 100644 (file)
@@ -1,16 +1,25 @@
+/**
+ * \file math_mathmlstream.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
 
 #include <config.h>
 
 #include "math_mathmlstream.h"
 #include "math_inset.h"
+#include "math_data.h"
 #include "math_extern.h"
-#include "debug.h"
 #include "support/lyxalgo.h"
-#include "support/LOstream.h"
 
+using std::strlen;
 
 using std::ostream;
-using std::strlen;
+
 
 namespace {
 
@@ -21,6 +30,7 @@ namespace {
 
 }
 
+
 WriteStream::WriteStream(ostream & os, bool fragile, bool latex)
        : os_(os), fragile_(fragile), firstitem_(false), latex_(latex),
          pendingspace_(false), line_(0)
@@ -175,14 +185,14 @@ void MathMLStream::cr()
 
 MapleStream & operator<<(MapleStream & ms, MathAtom const & at)
 {
-       at->maplize(ms);
+       at->maple(ms);
        return ms;
 }
 
 
 MapleStream & operator<<(MapleStream & ms, MathArray const & ar)
 {
-       maplize(ar, ms);
+       maple(ar, ms);
        return ms;
 }
 
@@ -213,14 +223,14 @@ MapleStream & operator<<(MapleStream & ms, int i)
 
 MaximaStream & operator<<(MaximaStream & ms, MathAtom const & at)
 {
-       at->maximize(ms);
+       at->maxima(ms);
        return ms;
 }
 
 
 MaximaStream & operator<<(MaximaStream & ms, MathArray const & ar)
 {
-       maximize(ar, ms);
+       maxima(ar, ms);
        return ms;
 }
 
@@ -251,14 +261,14 @@ MaximaStream & operator<<(MaximaStream & ms, int i)
 
 MathematicaStream & operator<<(MathematicaStream & ms, MathAtom const & at)
 {
-       at->mathematicize(ms);
+       at->mathematica(ms);
        return ms;
 }
 
 
 MathematicaStream & operator<<(MathematicaStream & ms, MathArray const & ar)
 {
-       mathematicize(ar, ms);
+       mathematica(ar, ms);
        return ms;
 }
 
@@ -290,14 +300,14 @@ MathematicaStream & operator<<(MathematicaStream & ms, int i)
 
 OctaveStream & operator<<(OctaveStream & ns, MathAtom const & at)
 {
-       at->octavize(ns);
+       at->octave(ns);
        return ns;
 }
 
 
 OctaveStream & operator<<(OctaveStream & ns, MathArray const & ar)
 {
-       octavize(ar, ns);
+       octave(ar, ns);
        return ns;
 }