Commit Graph

610 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
4de117b23f compilation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3032 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 14:52:32 +00:00
André Pönitz
a31e65aa9f math-extern: some support for things like d/dx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3031 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-15 14:14:37 +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
f3c27aa1f5 add paranthesis around numerator and denominator when exporting fractions
new inset for derivatives


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3024 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 16:27:06 +00:00
André Pönitz
ebcc9580c9 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3023 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:29:45 +00:00
André Pönitz
706b39f788 some more public->private stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3022 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:21:38 +00:00
André Pönitz
3e3a56bb6a fix math cursor size in non-standard font sizes (again *sigh*)
make some stuff 'protected' instead of public


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3021 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 15:04:46 +00:00
André Pönitz
ec2e5fa868 remove unnedeed #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3020 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:49:54 +00:00
André Pönitz
d481340f88 suppress the {} indication an empty base of a scriptinset if at the very
beginning of a cell


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3018 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 14:45:08 +00:00
André Pönitz
1e3e8aaac9 tiny bugfix; remove unnerded code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3017 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 12:51:43 +00:00
André Pönitz
7f7275c914 fix thinko in 'double space suppression'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3016 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:24:41 +00:00
André Pönitz
d76cb8f1cf activate row delete/insert for the 'cases' environment, too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3015 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:21:03 +00:00
André Pönitz
98d0501e77 make 'space' leave the formula if pressed at the very end
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3014 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-13 08:03:52 +00:00
André Pönitz
29663cf58f handle \cr and \crcr like \\
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3013 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 18:00:20 +00:00
André Pönitz
c12d116ce7 support for \begin{cases}...\end{cases} (for interactive creation type M-x
math-insert cases <number_of_case_you_want>)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3011 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 16:45:09 +00:00
André Pönitz
fb16a10b8e math-extern: enable handling of simple sums
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3009 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 14:37:43 +00:00
André Pönitz
f200be551a use '1' as integrand if not given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3006 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 13:09:26 +00:00
André Pönitz
1d1260a3aa interpret INSET_ERT as 'backslash pressed' to enable the use of the
toolbar tex button within mathed... not that anybody would use it...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3005 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-12 08:20:30 +00:00
André Pönitz
597afac060 store and output xml names if known...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3004 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 18:55:03 +00:00
André Pönitz
6d95ea2651 read new column from lib/symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3002 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 18:46:48 +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
9f6cfd81ce more math-extern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2998 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 14:48:57 +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
cc5b1b9def let '^' and '_' end "MacroMode" immediately
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2996 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:51:24 +00:00
André Pönitz
146daa986e bug fix ('#1' got written as '#^^A')
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2994 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-09 13:40:48 +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
Jean-Marc Lasgouttes
c090ca491f mathed compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2989 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 15:12:33 +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
cbf73238f5 uups... forgot the files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2987 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:30:26 +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
1b787e207d cosmetics: rename support.[Ch] into math_support.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2985 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 12:15:12 +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
0e9538958f add missing std::
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-08 06:42:20 +00:00
André Pönitz
f105559752 more mathml stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2979 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 18:15:24 +00:00
André Pönitz
5e5f64961e more output stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2978 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 17:36:03 +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
f07a117fc3 Hack to enable auto-insertion of '*' for Octave input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2976 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 14:14:04 +00:00
André Pönitz
2dd919eeb8 parse octave output as matrix if necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2974 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 13:15:59 +00:00
André Pönitz
2f858329df fix 'double =' glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2972 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 11:14:59 +00:00
Jean-Marc Lasgouttes
f73a9f37f4 mathed compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2971 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-07 10:25:05 +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
dff2911bda write \mathrm{x}\mathrm{y} as \mathrm{xy} again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2966 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-05 17:08:45 +00:00
André Pönitz
bf3d330980 change filenames for 'handleExtern'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2956 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:45:23 +00:00
André Pönitz
48a3633de7 drop extra {} in "obvious" cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2954 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 15:14:22 +00:00