MathML, using Paul Wang's package



The tilu program is written in lisp, and  generates web pages
dynamically with the answers to calculus problems.  It calls lisp
functions to do display of algebraic expressions in 2-D  like
     2
  a x  +  b x + c

it could presumably use MathML for output instead.

I say this because I am guessing you are planning some enormous
kludge which runs maxima via a perl script attached to a cgi/bin
which uses programs written in Java etc etc.  I am also guessing
that you know almost nothing about lisp or maxima, because otherwise
you would have just looked at Paul Wang's package and figured it
out. 

The answer to your specific question is undoubtedly  yes, one
could assign the mathml output to a name in Lisp.  It is pretty hard
to produce a value in Lisp that cannot be given a name!

Sorry for giving you both more than you wanted, and less! Good luck.

Regards,
RJF



Chris Sangwin wrote:

>I've downloaded the MathML package maximaMathML from the share/contrib/
>section and installed this. Does anyone have experience of using the
>mathML generated in web pages?
>
>I noticed some comments on the mailing list archive on 11 June, but this
>doesn't answer the specific questions below. I would very much appreciate
>the experiences others might have in this area.
>
>(1)  The tex() function has an option
>
>s:tex( 1/(1-x^2), false);
>
>to return the tex'd value as a maxima string.  Is there a way to assign
>the output of Paul Wang's ctmathml function to a stgin in a similar way?
>This is because I'd like to concat the mathml'd expression with some other
>stuff to generate a web page, which I can save.
>
>(2) Does anyone have experience of actually using the MathML package with
>web browsers?  I'd really like to do this, having maxima generate
>expressions on the fly.  I don't mind using a plug-in on the client side
>if necessary.
>
>Many thanks indeed.
>
>Chris Sangwin
>
>_______________________________________________
>Maxima mailing list
>Maxima@www.math.utexas.edu
>http://www.math.utexas.edu/mailman/listinfo/maxima
>  
>