display2d changes TeX output



  Dear Maxima Users:

Setting display2d:false seems to affect the output of the tex command, 
but only when used as in "tex(expr,false)".  For example:

(%i1) tex(x^2);
$$x^2$$
(%o1) false

(%i2) tex(x^2,false);
(%o2) $$x^2$$

(%i3) display2d:false;
(%o3) false

(%i4) tex(x^2);
$$x^2$$
(%o4) false

(%i5) tex(x^2,false);
(%o5) \$x\^2\$\$\

This last behavior makes the TeX output of Maxima unusable in LON-CAPA, 
as LON-CAPA will only return the last output (for example, "false" from 
%i4, rather than the TeX), and needs 1d output.

Is this behavior of tex(expr,false) under display2d:false expected or 
desirable?  If so, is there perhaps another option to return the usual 
TeX output under display2d:false?

Sincerely,

Lon Mitchell


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lmitchell2.vcf
Type: text/x-vcard
Size: 310 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20101015/cbcba777/attachment.vcf>;