Commit Graph

297 Commits

Author SHA1 Message Date
Lars Gullik Bjønnes
abc4ed9a65 add qt2/xforms to guilib + simple ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4039 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-22 16:31:14 +00:00
André Pönitz
763fbc6f1b don't display a message unless in debug mode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4024 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-18 14:05:33 +00:00
André Pönitz
539d0d1664 get recently broken \mathcircumflex working again (hackish, proper fix in 1.3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3889 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-03 10:45:32 +00:00
André Pönitz
ed79aee921 don't assert() on missing macro arguments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3878 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-02 07:33:38 +00:00
André Pönitz
1c77a120de consolidate interface for macro creation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 18:04:36 +00:00
André Pönitz
855181bd35 small parser tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 16:13:52 +00:00
André Pönitz
593247d98a bugfix for compound 'symbols' using \lyxkern
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3850 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-27 10:51:46 +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
eb39922612 Fix parser glitch as reported by J.L.M.Assirati
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3696 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-07 17:34:51 +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
df36a96f80 support for 'gathered', 'aligned', 'matrix', \overleftrightarrow,
\underleftrightarrow


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3546 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:50:40 +00:00
André Pönitz
0ad5f550fe fix parser bug for \begin{align}...\end{align}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3545 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:18:44 +00:00
André Pönitz
d7f701b8d6 move around debugging stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3544 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-15 14:07:09 +00:00
André Pönitz
5e6481b76e support for \substack
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3540 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:52:23 +00:00
André Pönitz
e6947f6187 full support for vmatrix and Vmatrix,
added missing parts for pmatrix and bmatrix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3539 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-14 14:19:52 +00:00
André Pönitz
e70e507d01 support for AMS's \pmatrix and \bmatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3530 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-13 13:15:15 +00:00
André Pönitz
d672af78a8 forgot to remove some debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3526 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 09:46:10 +00:00
André Pönitz
6748408e65 fix parser bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3525 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-12 09:11:50 +00:00
André Pönitz
2c81992188 show the 'empty base dot' less frequently
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3522 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 15:55:13 +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
ffabba6156 Finxing Umlauts, Part I
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3503 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:03:38 +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
b5fd9ac98d basic support for \xymatrix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3482 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 18:44:51 +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
b1d75ead87 Somewhat better behaviour for Umlauts in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3472 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 14:56:49 +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
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
32253ab4d1 make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
No editing possible, though...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3328 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 14:02:37 +00:00
Dekel Tsur
f60e175f1e Support for \begin{math}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3326 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-10 13:07:53 +00:00
André Pönitz
76d05a79f2 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3323 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-09 15:21:56 +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
f4892a2d33 visual support for \displaystyle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3280 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-03 12:02:54 +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
Lars Gullik Bjønnes
f70513fe19 small stuff, perhaps you should have a look at the change in math_parser, Andre
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3230 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-18 03:16:46 +00:00
André Pönitz
34ed3608a0 support for fraktur font in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3184 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-11 10:14:51 +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
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
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
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
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
André Pönitz
fcb060f97d make undo more granular in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2951 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 12:26:42 +00:00
André Pönitz
9665dd5ff0 parser tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2950 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 12:04:45 +00:00
André Pönitz
60ccb16240 Fix reading of mathrm etc as reported bei Norbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2947 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-31 09:54:47 +00:00
André Pönitz
3b0329fe27 read support for \begin{displaymath}...\end{displaymath}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2945 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-29 16:10:41 +00:00
André Pönitz
fcc87d756b Re-introduction of a BraceInset to handle "extra braces"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2943 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-29 15:45:24 +00:00
André Pönitz
1b8991ea00 re-enable support for TeX-style {\it..} (\rm, \bf, \tt...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2936 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-24 17:14:05 +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
35d74b0e6f some visual support for \lefteqn
fix some writeNormal() issues


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2895 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-18 13:21:21 +00:00
André Pönitz
761fab540e support reading TeX's $$...$$ syntax
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2887 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-15 14:19:16 +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
a4dab932ac Return UNDISPATCHED instead of FINISHED in the default branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2757 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-13 16:14:43 +00:00
André Pönitz
c50bd2b573 fix delimiter handling for \, |, and /
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2740 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 12:51:55 +00:00
André Pönitz
0e0913d030 another parser fix (nested {} and \left..\right and \atop)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2737 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:58:25 +00:00
André Pönitz
e410a7e2a4 fix parser bug if \atop etc appear inside \left ... \right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2731 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 09:17:46 +00:00
André Pönitz
445f2a9851 try to fix free memory leak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2730 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-12 07:51:53 +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
Jean-Marc Lasgouttes
426ae5c092 da.po update ; small compile fix in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2693 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 15:22:20 +00:00
André Pönitz
3b2f6decf2 read/write support for the AMS split environment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2688 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-05 12:57:13 +00:00
André Pönitz
4735efe3fe some support for gather and multline (multline special display is missing...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2686 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 14:56:30 +00:00
André Pönitz
98e9f5f2b6 some support for the [x][x]alignat environments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2684 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 13:32:06 +00:00
André Pönitz
b07b7528ff improve support for align and alignat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2677 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 08:48:23 +00:00
André Pönitz
92705b7a74 fix the | vs \| business...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2676 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-04 07:39:29 +00:00
André Pönitz
77306b7e24 Make Shift-End and Shift-Pos1 work as expected
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2629 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 10:17:28 +00:00
André Pönitz
3e7bc31d0c *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2626 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-30 08:55:13 +00:00
André Pönitz
f1e2433313 re-enable { and } in seperate cells;
nuke MathScopeInset;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2620 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 16:23:54 +00:00
André Pönitz
10187ee6d9 read & and \\ nested in {} again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2616 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 15:19:50 +00:00
André Pönitz
21c277b6f3 forget to disable the debug output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2580 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-24 06:35:12 +00:00
André Pönitz
403915f5ff ignore again space at the beginning of formulae
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2579 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-24 05:59:59 +00:00
André Pönitz
50a865b664 some support for TeX's \kern primitive in the parser.
use \kern instead of yesterday's home grown CheatInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2569 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-21 14:20:50 +00:00
André Pönitz
6fd8c362c0 bug fix (spaces were ignored in input even within \mathrm)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2565 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-21 07:03:46 +00:00
André Pönitz
aea21e8cac re-enable spaces and hyphens in labels;
small stuff;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2559 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 13:45:02 +00:00
Dekel Tsur
3a0fbd0a90 Eat spaces after \end_inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2547 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-18 12:02:40 +00:00
André Pönitz
1555e4c27c some support for \atop
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2542 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 17:50:00 +00:00
Lars Gullik Bjønnes
07a0f43eee fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2541 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 17:41:38 +00:00
André Pönitz
616f124e92 fix 'Uninitialized memory read'. It was not exactly a bug, though...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2539 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 16:34:19 +00:00
André Pönitz
44d911432c correct mixed up eqnarray <-> eqnarray* and numbered <-> unnumbered
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2538 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 16:10:51 +00:00
André Pönitz
f149653927 fix display "'" vs "\ni"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2534 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 15:47:02 +00:00
André Pönitz
3c93fa9279 move comparison out of class Token; bugfix;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2532 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 11:37:48 +00:00
André Pönitz
60e132e76e fixes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2531 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 11:08:55 +00:00
André Pönitz
8ccadb0c78 Token::operator!=()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2530 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 10:51:50 +00:00
André Pönitz
88b346dd3a unsigned char <-> char
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2529 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-17 10:21:37 +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
8766c98cfe re-enabling the "selected text gets converted to math"-feature
small bix fix
cosmetics


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2510 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-14 07:46:11 +00:00
André Pönitz
48503551b1 more honey for Angus's dinosaur
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2505 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:58:26 +00:00
André Pönitz
d586e9e856 support for TeX's \choose
fix for return void


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2504 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 15:26:41 +00:00
André Pönitz
1e9b743bce read/input support for TeX's '\over'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2503 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:46:06 +00:00
André Pönitz
ba5f02ca07 small step to a unified parser for file & interactive input
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2501 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-13 14:02:37 +00:00
André Pönitz
2923623e9c prepare syntax change for 'math-insert' (root -> \root etc)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2490 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 15:49:15 +00:00
André Pönitz
74124b4bf8 make {} a proper inset; simplifications to the parser;
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2489 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 15:32:26 +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
babee598f4 store optional eol arg and write it back if necessary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2480 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:51:06 +00:00
André Pönitz
8de80cc1e7 move error message to a better place...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2478 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 11:04:23 +00:00
André Pönitz
431543cc20 improve end-of-line handling in the presence of optional args to \\
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2477 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 10:39:56 +00:00
André Pönitz
31028168b2 small bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2474 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:35:19 +00:00
André Pönitz
23638ef606 wrap mathed parser in a class, the main parsing functions should be
re-entrant now


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2473 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 09:30:02 +00:00
André Pönitz
8898791bc6 small parser stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2472 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-10 07:52:04 +00:00
André Pönitz
d6f2a2313a fix broken ^ stuff; break delimiters...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2466 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:19:31 +00:00
André Pönitz
4c7849e8d9 move more stuff to math_hash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2462 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:48:50 +00:00
André Pönitz
d4582c5bc1 move some more parser information to math_hash to make it accessible by the
cursor


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2461 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 10:34:43 +00:00
André Pönitz
c9c3b9b447 move things around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2460 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 09:19:18 +00:00
André Pönitz
cbf29c8fdc new hierarchy for frac-like things
'native' \stackrel support
remove MathInset::name_ member (sizeof(MathInset) == 20 on IA32 now);


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2457 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-08 17:26:30 +00:00
André Pönitz
9d5c326eaf Undo hotfixes for missing files. Sorry guys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2433 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-07 04:53:01 +00:00
Lars Gullik Bjønnes
70b62a472b make mathed compile (but not link), adjust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2430 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 19:14:17 +00:00
André Pönitz
8b7b3a5895 - fix nasty bug due to missing InsetFormula copy c'tor
- make all cache variables mutable, remove const_casts


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2426 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-06 17:20:26 +00:00
André Pönitz
51e0c8bd1f everything is an inset. sizeof(MathInset) == 36 on IA32
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2413 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 17:10:22 +00:00
André Pönitz
18a610d4d6 cloase a leak; remove a few casts; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2410 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-03 09:54:48 +00:00
Lars Gullik Bjønnes
8254b16fd1 more latex conversion cases fixed, patch from Andre, more more funcs to lowercase, some debug output to look at...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2406 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-02 18:46:53 +00:00
André Pönitz
84b01259ef fix (potential?) memory leaks; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2403 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-01 16:48:06 +00:00
Asger Ottar Alstrup
b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00
André Pönitz
7fea2dad0f somewhat better support for \| when reading
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2372 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 14:50:33 +00:00
André Pönitz
4f2bb26476 remove debug message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2368 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 13:01:01 +00:00
André Pönitz
2e4ad73024 work around static initialization problem
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2367 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 12:32:29 +00:00
André Pönitz
811980f739 rename MathBigopInset into MathSymbolInset. That's what it is nowadays...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2365 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-27 10:08:04 +00:00
André Pönitz
43d1fd2562 make '$' default delimiter for inline maths instead of \(...\)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2363 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 16:56:23 +00:00
André Pönitz
ece9f3739c nest step...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2362 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 16:14:23 +00:00
André Pönitz
356d7aed23 small steps towards a unified symbol handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2361 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 15:28:45 +00:00
André Pönitz
1db325d20c simplify BigopInset handling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2360 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 14:37:09 +00:00
André Pönitz
d812b509d0 small cleanups
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2359 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 13:52:47 +00:00
André Pönitz
16fe92dbc0 iookup unification - another 100 lines bite the dust
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2357 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 10:21:18 +00:00
André Pönitz
fda98080cc cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2353 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:56:43 +00:00
André Pönitz
9ccefe810b mathed108.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2352 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-26 06:46:50 +00:00
André Pönitz
abaa02466a move things around, fix bug in ~MathArray.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2297 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 14:54:13 +00:00
André Pönitz
96a1cc78b2 support for \land and \vee, cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2292 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-20 10:57:22 +00:00
André Pönitz
5c40a062b2 rename math_(root|grid).[Ch] to math_(root|grid)inset.[Ch]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2259 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-17 07:38:41 +00:00
André Pönitz
3ce9e1228e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2231 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 09:10:59 +00:00
André Pönitz
4a40b711f2 mathed102.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2229 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-13 07:55:55 +00:00
André Pönitz
0024f42724 split super/subscript handling in new base class MathUpDownInset and
MathScriptInset/MathBigOpInset


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2220 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-12 07:18:29 +00:00
André Pönitz
88b5d739b5 MathAccentInset rewritten
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2215 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-10 13:17:43 +00:00
André Pönitz
b24b504cd2 Small bugfixes and cosmetic changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2208 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-09 10:19:50 +00:00
Lars Gullik Bjønnes
3aa411d883 make NO_LATEX default, set ut compability stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2205 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-08 12:52:16 +00:00
Lars Gullik Bjønnes
ec5d8718c5 mathed95.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2193 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-06 12:09:32 +00:00
André Pönitz
4540c3d3e4 Fix for signed/unsiged char bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2187 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-05 14:45:04 +00:00
André Pönitz
18ed33949f Small parser bug fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2182 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-04 17:15:08 +00:00
André Pönitz
3d00527d48 mathed87.diff (Bug fixes, new feature "change font on selection")
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2169 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-03 07:56:55 +00:00
Lars Gullik Bjønnes
76ef051b1c LyX Drinkers United: patch 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2144 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-27 14:10:35 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Lars Gullik Bjønnes
313252eb8b various changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2089 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-04 23:57:32 +00:00
Lars Gullik Bjønnes
f1d829a185 adjust to be able to complile with gcc 3.0, put selection vars into own struct, remove some C string funcs in favour of lstrings ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2074 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-31 02:23:46 +00:00
Lars Gullik Bjønnes
b9d25422e0 mathed67.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1968 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-27 12:35:55 +00:00
Lars Gullik Bjønnes
47b341b996 mathed65.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1954 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-25 15:43:57 +00:00
Lars Gullik Bjønnes
6b95441288 mathed64.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1950 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 16:13:38 +00:00
Lars Gullik Bjønnes
53cf203fb9 use LFUN_MESSAGE, inhritprivately from noncpopyable, remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1932 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-17 14:20:21 +00:00