I got a file. Perhaps you need to do tex(x,"c:\\temp\\file.tex") so you
will know where the file is.
But it is not what you really wanted, since it just has the labels, not the
values.
Maybe better is
tex(x=ev(x),"c:\\temp\\file.tex")
But that is not exactly right, either if you want a complete transcript with
TeX versions
of the output. The non-TeX input should be put in verbatim mode, something
should be done
with comments, etc.
The commercial Macsyma has such a feature.
I suspect that for some purposes the simple redefinition of displa using
:lisp works better.
Opening a maxima in a text editor, e.g. emacs, can run the whole
interaction, and
then you can save the file in that editor, and it will have embedded TeX.
> -----Original Message-----
> From: Jorge Barros de Abreu [mailto:ficmatin01 at solar.com.br]
> Sent: Sunday, June 24, 2007 3:03 AM
> To: fateman at cs.berkeley.edu
> Subject: Re: [Maxima] tex command and maxima batch file
>
> Em Sunday 24 June 2007 14:33, Richard Fateman escreveu:
> > map (lambda([x],tex(x,"file.tex")), labels);
>
> Hi Richard.
>
> The output of the line above is
>
> (%i31) map (lambda([x],tex(x,"file.tex")), labels);
> (%o31) [false, false, false, false, false, false, false,
> false, false, false,
> false, false, false, false, false, false, false, false,
> false, false, false,
> false, false, false, false, false, false, false, false,
> false, false, false,
> false, false, false, false, false, false, false, false,
> false, false, false,
> false, false, false, false, false, false, false, false,
> false, false, false,
> false, false, false, false, false, false, false]
>
> and file.tex was not generated.
>
> []?s
>
> --
> Data Estelar 2454275,997500
> http://usr.solar.com.br/~ficmatin
> Desejo-lhe Paz, Vida Longa e Prosperidade.
> S?o Bem Vindas Mensagens no Formato Texto Gen?rico com Acentos.
>