]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_streamstr.C
enable direct input of #1...#9; some whitespace changes
[lyx.git] / src / mathed / math_streamstr.C
index 5886fb6d1b0efc65ea130ff7adf1834d2bfec688..1675f0fe2481b629376c2c4331f52b4119fdabed 100644 (file)
@@ -1,8 +1,10 @@
 #include <config.h>
-#include <algorithm>
 
-#include "math_mathmlstream.h"
 #include "math_streamstr.h"
+#include "math_mathmlstream.h"
+#include "support/LOstream.h"
+
+#include <algorithm>
 
 
 WriteStream & operator<<(WriteStream & ws, string const & s)
@@ -11,3 +13,31 @@ WriteStream & operator<<(WriteStream & ws, string const & s)
        ws.line() += std::count(s.begin(), s.end(), '\n');
        return ws;
 }
+
+
+NormalStream & operator<<(NormalStream & ns, string const & s)
+{
+       ns.os() << s;
+       return ns;
+}
+
+
+MapleStream & operator<<(MapleStream & ms, string const & s)
+{
+       ms.os() << s;
+       return ms;
+}
+
+
+MathMLStream & operator<<(MathMLStream & ms, string const & s)
+{
+       ms.os() << s;
+       return ms;
+}
+
+
+OctaveStream & operator<<(OctaveStream & os, string const & s)
+{
+       os.os() << s;
+       return os;
+}