André Pönitz
4dd8a4ed0a
First shot at "auto correction" feature in mathed
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4195 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-24 08:29:16 +00:00
André Pönitz
fc1b314998
fix crash due to wrong export of AMS's pmatrix etc in math-extern
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4060 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-24 17:07:42 +00:00
André Pönitz
4025b11bc4
fix crashs discovered by Michael
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3984 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 13:30:14 +00:00
André Pönitz
4366ef931c
- revive 1.1.6 eqnarray behaviour when pressing <Del> in the last position of a
...
cell.
- allow additional argument to math-macros for drawing purposes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3823 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 12:11:25 +00:00
Lars Gullik Bjønnes
2b8ef58dc0
ws cleanup
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3804 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 17:42:56 +00:00
André Pönitz
74e3712580
fix Herbert's up/down problem
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3795 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 09:48:46 +00:00
André Pönitz
277e305082
Make Angus' compiler happy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3794 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 06:57:13 +00:00
André Pönitz
99cb25781a
fix for the first item on Martin's list
...
some infrastructure for drawing as ascii art
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3761 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 11:45:53 +00:00
André Pönitz
dd60fa8ccb
fix parser bug;
...
some stuff for hadling xymatrix (not 'activated' yet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3514 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 08:19:02 +00:00
André Pönitz
e5e39c1884
bugfix: in some cases the parser created unecessary extra braces
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3499 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 09:47:21 +00:00
André Pönitz
00e2f3f631
small internal stuff
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3497 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-07 08:19:47 +00:00
André Pönitz
0c60793515
partial fix for #141
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3474 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 17:01:30 +00:00
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