Leo,
Did you load mactex-utilities? Try:
(%i1) load("mactex-utilities")$
(%i2) a . b;
(%o2) a . b
(%i3) tex(%);
$$a\cdot b$$
(%o3) false
(%i4) texput("."," \\times ", infix)$
(%i5) tex(a . b);
$$a \times b$$
(%o5) false
(%i6) tex(%o2);
$$a \times b\leqno{\tt (\%o2)}$$
(%o6) (\%o2)
The user documentation doesn't say that it's necessary to load
mactex-utilities. Maybe
this is an oversight in the user documentation, or maybe it's an autoload
bug?
Barton
maxima-bounces at math.utexas.edu wrote on 02/03/2010 12:30:21 PM:
> [image removed]
>
> [Maxima] texput and .
>
> Leo Butler
>
> to:
>
> 'Maxima List'
>
> 02/03/2010 12:33 PM
>
> Sent by:
>
> maxima-bounces at math.utexas.edu
>
> How do I get tex to render
>
> tex(a . b);
>
> as
>
> $a \times b$
>
> texput(".","\\times","infix");
>
> or any simple variants do not work.
>
> At the moment, it does not appear possible to alter
> how tex handles . via texput.
>
> Leo
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima