On 2013-08-05, Alasdair McAndrew <amca01 at gmail.com> wrote:
> For some reason, my imaxima (maxima 5.30.0, compiled with SBCL) is suddenly
> behaving badly in my emacs 23.3. Here's what happens:
>
> (%i1) 2+2;
>=1B[00;30m
> LaTeX error in: \mbox{\tt\red(\mathrm{\%o1}) \black}4
> (%i2)
That's the TeX output for an output label as defined by TEX-MLABEL in
src/mactex.lisp. Imaxima redefines TEX-MLABEL to have somewhat different
output; in particular it doesn't contain \black or \red.
I suspect that the problem is a version mismatch between Maxima and
Imaxima. Imaxima and Maxima have to agree that a label is MLABEL. Are
you, perhaps, loading a previous version of Imaxima? What does your
.emacs say about load-path? It must point into the Maxima installation
directory.
MLABEL was MLABLE for a long time, and changed not too long ago (maybe
a year ago).
best
Robert Dodier