willisb@unk.edu writes:
...
> An idea: Embed maxima in LaTeX something like:
>
> Let {\tt buddy} be the gradient of $x^2 + y^2$. Thus
> \begin{maxima}
> buddy : [diff(x^2 + y^2,x), diff(x^2 + y^2,y)];
> solve(buddy,[x,y]);
> \end{maxima}
>
> Write a LaTeX pre-processor that would scan a LaTeX file for
> embedded maxima, extract the maxima commands, have maxima
> evaluate them, TeX the output and appropriately replace the
> \begin{maxima} ... \end{maxima} with TeX code. A document
> written this way would more maintainable than one done by cutting
> and pasting from either TeXMacs or from ASCII-art.
Dan Dill once wrote a Mathematica mode for emacs, which included a
notebook interface. I adapted it for MuPAD, and it does pretty much
what you describe.
If there is interest, I could fairly easily get it working for Maxima.
Jay