Re: itex2MML doesn't support MATHML2.0

>   but I find that mathml2.0 doesn't support `∫', 
> for example

MathML does have an entity of that name but always in XML if you use a
named entity other than the five predefined ones (apos amp quot lt gt)
you need to reference a DTD that defines the entities.

So in this case you need something like

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" 
               "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">


....


Without that, the file is not well formed XML and so will generate an XML
error in any XML parser before the MathML system really sees the file at
all.


An alternative to referencing the DTDs to reference the character by
number rather than by name, so &#8747; in this case.


Appendix A of the MathML spec has some more suggestions regarding DTD
usage.

David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Tuesday, 21 September 2004 16:52:50 UTC