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
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