Re: [O] Entities Parsing Code

2011-10-08 Thread Carsten Dominik
On 19.9.2011, at 23:39, Pavel Panchekha wrote: > I've been noticing that the org-pretty-entities code incorrectly lexes > numbers as part of TeX command names; for example, if I type $\sim2n^2$, the > \sim will not be replaced with a ~ because the 2 is lexed as part of the > command name. Thi

[O] Entities Parsing Code

2011-09-19 Thread Pavel Panchekha
I've been noticing that the org-pretty-entities code incorrectly lexes numbers as part of TeX command names; for example, if I type $\sim2n^2$, the \sim will not be replaced with a ~ because the 2 is lexed as part of the command name. This is incorrect; in TeX, numbers are not legal parts of a com