On Thu, 17 Mar 2005, Barton Willis wrote:
> Aside from the bugs in your code, the mactex version of tex-stripdollar
> does two things that your code doesn't. First, tex-stripdollar checks
> *tex-translations* to see if it should do a translation. Second,
> tex-stripdollar does things like x3 --> x_3. Your code doesn't try
> to do either. Why?
The second thing - for evident reason. If I call my variable x1, I want it
to become \mathrm{x1}, and not x_1. This is what TeXmacs always does: in
math mode, if an identifier is longer than 1 char, is is written in roman.
The first thing is, I think, also not a good idea, when TeXmacs is used as
an interactive interface for doing maxima computations. It would be very
confusing, if one and the same variable were called x in input lines and y
in output lines.
Andrey