Commit Graph

100 Commits

Author SHA1 Message Date
André Pönitz
c3e5ddf89a Fix fuer #209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3468 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 10:21:29 +00:00
André Pönitz
a86ed9bea2 prepare writing info messages to the minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3390 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:24:38 +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
faf2f08712 some changes to make some compilers somewhat happier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3310 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:03:34 +00:00
André Pönitz
d109cee80b preliminary support for \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3237 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 12:21:33 +00:00
André Pönitz
c0fc732905 allow cut&paste of rectangular "regions" of cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3218 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-15 16:13:11 +00:00
André Pönitz
6c13215907 more up/down tweaking;
remove unneeded functions


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3198 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 14:05:38 +00:00
André Pönitz
18f613448f re-enable automatic deletion of empty super/subscripts;
remove now unneeded pos() argument from idxUp/idxDown functions;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3197 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-12 13:11:28 +00:00
André Pönitz
1d8a1db27f fix nasty bug when inserting labels when cursor was in nested array
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3189 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 15:04:02 +00:00
André Pönitz
e71bea78ca brute force does not need much code...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3154 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 18:00:36 +00:00
André Pönitz
ebe6d25126 deep iterators for math insets;
use brute force for to determine "best" position when doing cursor up/down
(will be sped up a bit again soonish...)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3153 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 17:50:18 +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
André Pönitz
d15b566887 fix drawing glitch with \int (limits are on the side per default even in
displayed formulas)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3093 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-27 13:57:49 +00:00
André Pönitz
9fa9cbeab6 fill in the missing documentation comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3059 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-22 09:48:57 +00:00
André Pönitz
39924c351c simple search-and-replace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3037 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 09:55:37 +00:00
André Pönitz
af2a6c6512 introduce test for "equality"
remove a few unneeded declarations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3036 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-16 09:07:40 +00:00
André Pönitz
ea35e1c460 make cursor less eager to leave the formula when pressing 'up' or 'down'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3030 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 09:51:57 +00:00
André Pönitz
c80a4abde9 improved function function argument detection for math-extern:
\sum_i{i=1}^n i^2 is now parsed properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3025 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 18:33:48 +00:00
André Pönitz
6cfb068d37 some work on math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2997 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 14:23:44 +00:00
André Pönitz
3516a9a2fc recognize a few "well known functions"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2993 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 12:01:10 +00:00
André Pönitz
9921635d78 forgotten file math_extern[Ch]
first shot at transformation 'sin^2 x' -> 'sin(x)^2'


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2992 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 10:44:24 +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
f34e4919f7 cosmetics: rename (x)array.[Ch] into math_(x)data.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2988 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:55:58 +00:00
André Pönitz
15b1e9cdde cosmetics: rename "matrix" into "hull" since it is used only for the
outermost math inset in a formula and not for matrices at all...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2986 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:28:33 +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
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
André Pönitz
0f23028f4b some support for det and abs for math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2970 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 10:21:51 +00:00
André Pönitz
6e3fcdf812 start native C++ support for Octave, Maple and MathML
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2969 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 08:51:35 +00:00
André Pönitz
849400adb1 next step...
would somebody explain me how inset nesting works in the outside world?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2941 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 19:09:31 +00:00
André Pönitz
557033beb6 small step forward on the lenghty path to \mbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2940 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 18:29:55 +00:00
André Pönitz
cde897f38b remove position cache from insets - these were the last data item stored in
each inset, so we are down to the absolute minimum here...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2929 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 09:16:06 +00:00
André Pönitz
c0ef23bc2a - remove some unused code
- put some more stuff in anaon namespaces
- cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2915 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:03:07 +00:00
André Pönitz
40b2b89d4d - remove MathStyles cache from those insets that don't need it
- fix math font sizes in headings etc
- remove unused static member int MathInset::workwidth


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2909 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-22 15:37:49 +00:00
André Pönitz
970f0247f7 halfway through fixing size of math in non-standard sizesd paragraohs like
section headings...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2907 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 17:46:13 +00:00
André Pönitz
ba171ba664 rename variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2905 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 15:55:10 +00:00
André Pönitz
5507c1ad69 use stream-like syntax for LaTeX output
(instead of inset.write(stream) functions)

prepare fix for proper font sizes in chapter heading etc...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2899 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-19 11:25:48 +00:00
André Pönitz
9295f8236e Use references instead of pointers where possible
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2867 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-12 12:02:49 +00:00
André Pönitz
0f5ff99bc1 Even more ugly changes and a new file dependency to shut up Jean-Marc's
compiler *sigh*


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2804 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 16:52:34 +00:00
André Pönitz
7435fca771 further code uglification to make Jean-Marc's compiler happy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2803 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-26 15:20:45 +00:00
André Pönitz
1129104282 changed cursor movement/deletion behaviour in super/subscripts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:25:06 +00:00
André Pönitz
0e9148aa78 remove unneeded methods
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2794 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 14:03:48 +00:00
André Pönitz
02ec9422d0 use 'size_type' at least for container-like stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2761 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-14 14:05:57 +00:00
André Pönitz
c800129f2b partial fix for the macro problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2727 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 15:46:51 +00:00
André Pönitz
e4c58b72be try to do with super- and subscripts what TeX does
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2722 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-11 10:58:17 +00:00
André Pönitz
ff13a3e736 remove symbol_def.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2666 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 15:22:55 +00:00
André Pönitz
71d514f39e write sequences of chars with same code as unit
(i.e. no more \mathrm{a}\mathrm{b})


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2533 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 13:18:10 +00:00
André Pönitz
77dca4f3bc new parser
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2528 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 09:48:24 +00:00
André Pönitz
495b94db75 remove the imacro_ hack from MathCursor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2512 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 11:19:19 +00:00
André Pönitz
2da8fcabdc small stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2484 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 13:17:39 +00:00
André Pönitz
20effa2eb1 iterators for MathArray; cosmetics;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2459 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 08:53:16 +00:00