A bit more re-organization.
[lyx.git] / src / mathed / BUGS
blobfc6873c0881ef5c569dc7bd6f916ae9d9d38a20b
1 Eran Tromer:
3 - When selecting, maybe give a visual indication of the "original"
4   anchor, when it differs from the "actual" one.
7 Álvaro Tejero Cantero <alvaro@antalia.com>
9 - I suggest creating a different "kewybinding namespace" for the formulas,
10  since you could put to good use all those keybindings from the menu (M-?,
11  C-?) thath currently do their job PLUS getting you out of the formula.
12  Seriously, it'd be great to have more keys free, so M-d t would be time
13  derivative and M-d ? derivative with respect to the variable ?. And so on.
15    Flattening macros. Sometimes it's annoying the fact that once you have
16  written a macro, you can't touch at it's "constant parts". I call flattening
17  to the process of substituting all macros with LaTeX code.
19    Task: designing a macro substitution system that reads from a file
20  (possibly the same file as the document's) the macros and parses the document
21  doing the appropriate replacements
23   This is very useful, because sometimes you have a big expression in a macro
24  and you want to change an index only. What do you do then?. You retype
25  everything (perhaps several times in the document) or you create extremely
26  generic and parametrizable macros that aren't very fast to fill in the
27  majority of cases.
31 Jules Bean:
33 The number of characters which need to be typed
34 is the confusing nature of the command. 'M-c m', typed once, puts you into
35 math-mode. However, typing 'M-c m' again doesn't put you out of math-mode
36 --- it puts you into math-text mode. Then hitting it again puts you back
37 into normal math-mode.  IMO, 'modal' keys should either be idempotent (so
38 hitting it the second time does nothing) or self-inverting. In fact, the
39 inverse to 'M-c m' is either 'ESC' or simply a space typed at the end of
40 the block --- which is confusing, since they're not of the same 'shape' as
41 the command that got you in there.
43 Now, I'm not saying that 'space' shouldn't be allowed as a short-cut to get
44 you out of math-mode; it's a most useful and natural one, I like it a lot.
45 However, on balance I think M-c m should also have that effect.
47 3) Math-mode inconsistencies
49 Sometimes 'the same action' has the same keystroke both within and
50 without math-mode. This is very sensible. However, it is very annoying when
51 they don't behave the way you're expecting them to.
53 For example, 'M-c e' puts you into 'emphasise' mode.  Ignoring the fact
54 that in text mode this is italics, and in math-mode it stands for the
55 calligraphic character set, I think of these as the same action, so I like
56 the fact that they have the same keys. However, in math-mode, 'M-c e' is
57 idempotent, (and you need 'M-c space' to get back into normal) whereas in
58 text-mode 'M-c e' is self-inverse. These are the two possibilities I listed
59 as acceptable before, but consistency would be nice ;-) IMO, self-inverse
60 would be best for both.
62 6) Scope macros:
64 The current macro system is clever, but could be neater. One improvement
65 I'd like is to let LyX know about TeX's scoping rules...
68 Yves Bastide:
70 - use AMS's \text instead of \mbox.  It supports accented characters,
71   among others...  (selected via validate()?)
74 Angus:
76 - make math lables editable