A Maxima TeX 'diary'



The command "writefile(filespecification);"
has the diary function.
you have to closefile()  afterward.

If you want each command to be TeX'd, I suppose it can be
done by replacing the command-display function, perhaps
found in the main loop of the "continue" lisp function in SUPRV1.lisp

But first try this:

writefile(texdiary);

map(tex,reverse(labels)); 
closefile();


which might produce a tex'd diary of commands and displays.




Virgil wrote:
> 
> Some math-related software packages (e.g. Matlab) provide a "diary"
> option. This enables the user to request that a text file be created
> with a copy of a session, including all commands entered by the user
> and the corresponding replies by the software.
> 
> This feature is convenient sometimes, although it may be substituted by
> conducting the session from within a text editor, such as e-macs.
> 
> An even handier feature may be the generation of a (La-)TeX "diary",
> that is, a TeX file corresponding to user inputs and program outputs!
> 
> Now, Maxima can provide TeX translation, one expression at a time
> (tex(%) for example).
> 
> Can Maxima "automatically" generate:
> a) an ASCII (text) "diary" file
> b) a TeX "diary" file ?
> 
> If (a) is available but not (b), it would seem desirable and relatively
> simple to extend (a) to (b) by way of the tex command.
> 
> Thanks.
> 
> __Virgil
> P.S. I am aware that an interface between TeXmacs and Maxima apparently
> exists and may provide some of the functionality of option (b) above.
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima