A couple of other options, depending on what you need (JEuclid will
probably do what you need).
I haven't had to do this on a big project, but I had MathML I needed in
laTeX (created images I needed from that). There's a nice converter at
from MathML to TeX at https://webwork2.math.ohio-state.edu/xalan/index.php
You may also check out this post from Oxide interactive. They've got a
nifty example of converting mathml to an image if the browser doesn't
support the actual rendering (source and demo are down the page).
http://www.oxideinteractive.com.au/articles/practical-mathml/
Wayne
Thomale, J wrote:
> I haven't used it myself, but it looks like JEuclid would do what you need--it includes a command-line tool for converting MathML to a variety of different image formats.
>
> http://jeuclid.sourceforge.net/
>
> Jason Thomale
>
>
>
>> -----Original Message-----
>> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
>> Thomas Dowling
>> Sent: Wednesday, September 24, 2008 7:33 AM
>> To: [log in to unmask]
>> Subject: [CODE4LIB] MathML->image conversion?
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Code4Libbers--
>>
>> To support some commercial e-books that we load locally and publish to
>> our users with XTF, we need to handle formulas marked up in MathML.
>>
>> For their own web site, the book publisher farms this out to a
>> third-party vendor that somehow converts the MathML to inline images
>> for
>> display in HTML pages. The publisher is unable or unwilling to tell us
>> what their vendor uses for the job.
>>
>> I'm all for sending MathML down the pipe (caveat browsor), but our
>> e-book guru hasn't been able to slip it through XTF. If that isn't an
>> option, does anyone know a tool to convert possible large sets of
>> MathML
>> formulas to PNG (or GIF) images? I've run across similar converters
>> for
>> LaTeX, but not MathML.
>>
>>
>> - --
>> Thomas Dowling
>> [log in to unmask]
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFI2jN2Qw3b3khQwSgRAvKKAJ9cVQJAa4BbwULSrF3PEbCEehVGWQCgwTC8
>> mMZGyOn+sAb7DVxeLF3Z2Kc=
>> =D5JW
>> -----END PGP SIGNATURE-----
>>
>
>
--
/**
* Wayne Graham
* Earl Gregg Swem Library
* PO Box 8794
* Williamsburg, VA 23188
* 757.221.3112
* http://swem.wm.edu/blogs/waynegraham/
* http://www.liquidfoot.com
*/
|