Commit Graph

16 Commits

Author SHA1 Message Date
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Angus Leeming
44806c63f9 Fixes for a broken std::count.
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
2002-01-11 17:57:02 +00:00
André Pönitz
90f8bbec90 Angus: 'WriteStream::addlines' is now the only way to change 'lines_'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3335 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 15:23:10 +00:00
André Pönitz
9a7ba0c534 Add missing initialization (I dont think that was the problem, Angus)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3334 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-11 13:38:41 +00:00
Lars Gullik Bjønnes
33a28bdc9c Add string << operators for the other streams as well, and removes
c_str() all places where it is not needed anymore.
(I also add config.h to several files that was missing it)
+ added s string constructor to math_symbolinset

I also change some "while(" to "while ("

mmm ... yes ... I add a "zero()" function to LyXLength... an "empty()"
function did not seem appropriate. changed a couple of places that
checked on length.value() != 0.0.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3149 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 08:04:20 +00:00
André Pönitz
ef9efa6c0d do as Lars says
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3142 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 17:52:48 +00:00
André Pönitz
aed2b1804c make operator<<(*stream, ...) free functions;
make *stream 'class' instead of 'struct' (not finished);
use LCOlor::mathline only for boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3140 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-03 16:24:50 +00:00
Lars Gullik Bjønnes
b720d576c0 test add a string operator and comment out a couple of unused args
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3134 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-02 17:03:46 +00:00
André Pönitz
5a3fc63bfe fix writing of integers... duh...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3043 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 07:04:00 +00:00
Dekel Tsur
2400b5b919 Fix retrun value of InsetFormula::latex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3042 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 19:06:05 +00:00
André Pönitz
4da1f8e66f simple MathML output for integrals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3000 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 18:02:20 +00:00
André Pönitz
86c2cf6f65 translate '\int_0^1 e^x dx' to 'int(e^(x),x=0..1)'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2999 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 16:27:44 +00:00
André Pönitz
c93e9dcbc5 some support for matrix operations with maple ('M-x math-extern maple evalm')
further cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2991 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 08:35:57 +00:00
André Pönitz
0daba49b1d don't #include too much stuff in .h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2984 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:06:56 +00:00
André Pönitz
9479428522 add missing #include (wonder why it compiled here...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2981 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 06:45:55 +00:00
André Pönitz
7cccd80619 change output to uses streams instead of strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2977 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 17:30:26 +00:00