New TeXmacs-maxima interface



>>>>> "Andrey" == Andrey G Grozin  writes:

    Andrey> An additional improvement in the new interface: some hacks in TeX
    Andrey> generation used in maxima are undone, so that f(x)^2 is written as
    Andrey> f(x)^2,
    Andrey> not as f^2(x); sin(x) is written as sin(x), not as sin x. This allows to
    Andrey> copy-and-paste (most) expressions from output regions into input regions
    Andrey> (if you are in 2d input mode), and they will be interpreted correctly.

First, let me say I'm not a texmacs user, so I might be totally wrong
here.

But this begs the question of what tex() is supposed to do.  As a
plain, simple, command-line user, I would want tex() to do what I
would do by hand.  So f(x)^2 would be f^2(x) and sin(x) is \sin x,
because that's the typical notation I would use to put into a tex
document. 

I can see why texmacs would want something else.  Maybe everyone is
using texmacs to produce documentation and formulas, so this is a moot
point.  

Ray