mactex-utilities: Problem with tex() and matrices.



Hi all,

I'm encountering a lisp error.

I think this began with the new 5.11.0 release, and I'm pretty sure that I
got mactex-utilities off this list a few months ago, corresponding to an
earlier release of maxima.  (I'm sorry I can't be more specific, it has
been a while since I've used maxima although I've updated in the meantime)

In trying to have the latex style tex() fractions, I'm loading
mactex-utilities.  However it errors when I feed it a matrix and refers to
a list problem, as demonstrated below:

(%i1) constitutivecoeffs_a:matrix(
[(va13*va31-1)/Ea11,(va23*va31+va21)/Ea22,0,
  -alphaa33*va31-alphaa11],
[(va13*va32+va12)/Ea11,(va23*va32-1)/Ea22,0,
  -alphaa33*va32-alphaa22],[0,0,-1/Ga12,0])$
(%i2) define(ea11(x),
  -constitutivecoeffs_a[1].[Sa11(x),Sa22(x,y),Sa12(x,y),DT])$
(%i3) tex(ea11(x))$
$$\left(\alphaathreethree\,\vathreeone+\alphaaoneone\right)\,\DT-{{
 \left(\vatwothree\,\vathreeone+\vatwoone\right)\,\Satwotwo\left(x ,
 y\right)}\over{\Eatwotwo}}-{{\left(\vaonethree\,\vathreeone-1\right)
 \,\Saoneone\left(x\right)}\over{\Eaoneone}}$$


/* NOTE: everything is working so far, except as follows...... */

(%i4) load("mactex-utilities")$
WARNING: DEFUN/DEFMACRO: redefining function TEX-MQUOTIENT in
/usr/share/maxima/5.11.0/share/utils/mactex-utilities.lisp, was defined in
         /var/tmp/portage/maxima-5.11.0/work/maxima-5.11.0/src/binary-clisp/mactex.fas
WARNING: DEFUN/DEFMACRO: redefining function TEX-MATRIX in
/usr/share/maxima/5.11.0/share/utils/mactex-utilities.lisp, was defined in
         /var/tmp/portage/maxima-5.11.0/work/maxima-5.11.0/src/binary-clisp/mactex.fas
WARNING: DEFUN/DEFMACRO: redefining function TEX-LIMIT in
/usr/share/maxima/5.11.0/share/utils/mactex-utilities.lisp, was defined in
         /var/tmp/portage/maxima-5.11.0/work/maxima-5.11.0/src/binary-clisp/mactex.fas
(%i5) tex(ea11(x))$
$$
Maxima encountered a Lisp error:


APPEND: A proper list must not end with " "

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
(%i6)


Does anybody know why this is occurring?  Thanks a bunch,

Peter Gustafson