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