MathML, using Paul Wang's package



Na 1087228073, 2004-06-14 ob 17:47, je Chris Sangwin napisal(a):
> 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

I don't know about the maximaMathML package, but you can do it with the
package from

http://www.lurklurk.org/maxima.html

The mathml() function from this package works the same as the tex()
function in maxima. So to get a mathml string, you use

s:mathml(1/(1-x^2), false);

There is also a test page at website so you can see how the output looks
like in a browser.

-- 
Andrej Vodopivec <andrej.vodopivec@fmf.uni-lj.si>