Commit Graph

150 Commits

Author SHA1 Message Date
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