axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Interpreter commands from Spad?


From: Bill Page
Subject: Re: [Axiom-developer] Interpreter commands from Spad?
Date: Wed, 29 Aug 2007 08:27:24 -0400

On 8/28/07, Arthur Ralfs wrote:
> ...
> My problem is that I don't know how to interpret the output
> and get the correctly formatted TeX.  At this point I've tried
> everything I can think of.
>

Perhaps this approach suggested by Tim Daly a few years ago will help:

http://lists.nongnu.org/archive/html/axiom-developer/2005-05/msg00228.html

)lisp (progn
        (setq tmpout (make-string-output-stream))
        (setq save |$algebraOutputStream|)
        (setq |$algebraOutputStream| tmpout)
        (|parseAndInterpret| "(x+1)^9")
        (setq result (get-output-stream-string |$algebraOutputStream|))
        (setq |$algebraOutputStream| save)
        result)

)lisp result

Regards,
Bill Page




reply via email to

[Prev in Thread] Current Thread [Next in Thread]