On 9/10/08, Reinhard Oldenburg <oldenbur at math.uni-frankfurt.de> wrote:
> I'm about to embed Maxima into a project using Lispworks. Now, I was
> surprised to find that the Maxima tolevel function string has no $string
> partner on the lisp side. I can call maxima::displa but I need to
> collect the result in a string. Any hints?
Some ideas ---
(mgrind foo s)
=> output infix notation to stream S
(tex1 foo s)
=> output TeX notation to stream S
In either case S could be a string output stream.
Maybe it's also possible to tell DISPLA to write stuff to a string output
stream; I didn't look at that.
Not sure exactly what you're trying to do; maybe you need to give more details.
HTH
Robert Dodier