8 #include "math_streamstr.h"
9 #include "math_mathmlstream.h"
10 #include "support/LOstream.h"
11 #include "support/lyxalgo.h"
14 WriteStream & operator<<(WriteStream & ws, string const & s)
16 if (ws.pendingSpace()) {
18 ws.pendingSpace(false);
21 ws.addlines(int(lyx::count(s.begin(), s.end(), '\n')));
26 NormalStream & operator<<(NormalStream & ns, string const & s)
33 MapleStream & operator<<(MapleStream & ms, string const & s)
40 MathematicaStream & operator<<(MathematicaStream & ms, string const & s)
47 MathMLStream & operator<<(MathMLStream & ms, string const & s)
54 OctaveStream & operator<<(OctaveStream & os, string const & s)