Commit Graph

104 Commits

Author SHA1 Message Date
André Pönitz
0b86a117fb streamlining interaction mathed <-> rest of the world
remove unneeded lfun
general cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4996 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 14:33:14 +00:00
Lars Gullik Bjønnes
4110687297 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4975 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 18:31:53 +00:00
André Pönitz
f84e3d1296 more lfun shuffling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4972 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 16:43:16 +00:00
André Pönitz
69a1e730ae more lfun localization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4971 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 16:11:55 +00:00
André Pönitz
7cc71fc1e4 small bugfixes, new inset for comments and the main part is moving lfun
stuff from the FormulaBase and the cursor to those math insets that can
handle the request...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4970 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-14 15:13:07 +00:00
André Pönitz
808973619b the lfun3 patches (overall cleanup and "localizing" dispatch() in mathed)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4958 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-13 17:43:40 +00:00
André Pönitz
73b1ac43f4 a bit more const correctness
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4905 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 16:08:11 +00:00
André Pönitz
d7f59018d5 fix reading of labels with underscore and probably break a few other things
in exchange


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4903 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 14:22:44 +00:00
André Pönitz
e279f7bbb8 Herbert's multline patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4900 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-08 12:45:38 +00:00
André Pönitz
66e5a9eea1 fix frac drawing in displaystyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4888 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-07 08:36:31 +00:00
André Pönitz
2830796638 uses references instead of returning vectors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4840 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-02 13:35:05 +00:00
André Pönitz
a794a45949 the up/down stuff reworked
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-30 13:56:02 +00:00
André Pönitz
10fd14e55b enable insertion of spaces in all \textxxx modes.
some cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4702 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-18 11:02:33 +00:00
André Pönitz
c69579b679 donn't mutate align to alignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4691 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 17:25:17 +00:00
André Pönitz
1a696271da honor \displaystyle etc on screen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4684 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 15:57:03 +00:00
André Pönitz
0bd8435f7e next shot at xxalignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4677 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 11:21:22 +00:00
André Pönitz
baf8d2da9f fixes for \xxalignat and old style font changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4673 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-17 10:25:33 +00:00
André Pönitz
e3d52bd203 ascii export tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4604 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 15:04:43 +00:00
André Pönitz
9b2be91bed replace (ascent, descent, width) triples by a structure 'dimension'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4601 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 11:27:24 +00:00
André Pönitz
bd6885433a remove hard-wired association LaTeX macro <-> mathed inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4599 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-11 09:34:58 +00:00
André Pönitz
2c3ae20fc2 support for wasy symbols
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4566 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-09 13:38:27 +00:00
André Pönitz
4dd411c611 preliminary work for \parbox support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4543 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 11:29:51 +00:00
André Pönitz
f3059f5772 math internal re-organization to prepare de-centralized dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4542 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-08 06:39:40 +00:00
André Pönitz
a78c4b15ff killing MathType simplifies a few things...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4520 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-03 10:36:44 +00:00
André Pönitz
3786644124 most of the so far unapplied stuff from porto including proper support for
\fbox and a few bugfixes (and quite probable lots of new bugs)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-24 15:37:14 +00:00
Lars Gullik Bjønnes
f1c24d1009 *duck*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4417 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-18 15:44:30 +00:00
André Pönitz
aa1b4aa789 further \mbox tweaking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4333 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:45:41 +00:00
André Pönitz
8d9f14a22b small advances with \mbox
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4331 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-04 09:06:04 +00:00
André Pönitz
bc6e1a1338 the parser changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-03 07:31:08 +00:00
André Pönitz
6f74c2c9b9 re-enable ams "autodetection" (I still think it is wrong...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4309 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-31 04:51:49 +00:00
André Pönitz
fe87869cb7 fonts as insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4289 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-30 07:09:54 +00:00
John Levon
06f9f0ea08 OK I'll try guii1 again ...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4186 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 09:21:32 +00:00
André Pönitz
4d6b99e865 return to 1.1.6 behaviour for ascii export
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4110 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-02 07:30:49 +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
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
858355fb69 - reduce sizeof(MathCharInset) by 20 by better font caching
(lots of subsequent changes)
- ascii art drawing for \frac and \sqrt


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3780 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 16:55:58 +00:00
Angus Leeming
741f527784 Some trivial fixes of warning messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3768 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 16:32:52 +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
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
André Pönitz
746d3f3db6 another case of superfluous braces on read-back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3536 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 13:25:26 +00:00
Jean-Marc Lasgouttes
a02a2714dc updates to latexfeatures stuff; allow empty \document_path
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3324 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 10:05:45 +00:00
André Pönitz
75408c2bcc more small patches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3313 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 13:31:14 +00:00
André Pönitz
2c2ce9424f more 'informational' messages removed?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3312 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 11:39:24 +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
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
9b0945a47f re-enable the mathcursor->normalize() safety belt.
This trades Asserts() against a console warning


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3103 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 13:09:40 +00:00
André Pönitz
26685ea29b fix compilation with compaq cxx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3050 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-20 14:59:39 +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
Jean-Marc Lasgouttes
fcc833018c latexfeatures path from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3041 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-19 15:34:11 +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
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
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