mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
44806c63f9
A couple of white-space type changes in mathed. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3341 a592a061-630c-0410-9148-cb99ea01b6c8
45 lines
677 B
C
45 lines
677 B
C
#include <config.h>
|
|
|
|
#include "math_streamstr.h"
|
|
#include "math_mathmlstream.h"
|
|
#include "support/LOstream.h"
|
|
#include "support/lstrings.h"
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
WriteStream & operator<<(WriteStream & ws, string const & s)
|
|
{
|
|
ws.os() << s;
|
|
ws.addlines(int(countChar(s, '\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;
|
|
}
|