switch so that output is automatically in latex form



You can escape into lisp and redefine one program.
Probably a non-optimal patch, but here's one that works..

?break();
;; now you are in lisp.

(defun displa (x)(meval (list '($tex) x)))

;; now get back into maxima
(continue)

RJF

anita kean wrote:

> This question was asked a while ago, but there were
> no answers in the archives.
> 
> 
>>Josh Don rocksolidrobot@yahoo.com
>>  Wed, 13 Oct 2004 17:20:26 -0700 (PDT)
> 
> 
> 
>>that's it,
>>Is there a switch so that all output comes out as Latex?
>>thanks for your answers.
> 
> 
> I'm a vi(m) user who's not adept at emacs, and wonder
> if there's flag to turn on so that e.g. batch-file 
> maxima execution outputs in latex/tex form.
> 
> Putting tex() around all the appropriate lines of work,
> and having to label each line preceeding a tex() line
> so that it can be referred to after it has been
> tex-formatted makes for a lot of extra work.
> 
> imaxima outputs to latex by default --  how is this done?
> 
> Thanks
> Anita
> 
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima