PDA

View Full Version : MathML for IE & Mozilla



gigabites
12-15-2004, 10:05 AM
I'm interested in MathML... Big time!
I know that it can only be rendered in Mozilla & Netscape.
Then I found out that IE 6 can also render MathML, with a big help from MathPlayer (http://www.dessci.com/en/products/mathplayer).

OK now, does anyone knows how to create a complete MathML script that runs in both Mozilla/Netscape and IE+MathPlayer? I've tried some scripts that I found on the net, but they just didnt work... (Or, maybe I wasnt trying hard enough.. :p)
I'm not very good in XML & XHTML, hope to learn it soon...
Any help would be greatly appreciated... TIA :)

afwings
10-01-2005, 12:35 PM
Sorry for the delay in answering your question, but I only saw your post this morning. Here's what you need to do to author a page that's viewable in both Netscape/Mozilla/Firefox and IE 6 + MathPlayer 2:

1. These lines should be the first 4 lines in your code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

2. Each <math> tag in your MathML needs to have this attribute: xmlns='http://www.w3.org/1998/Math/MathML'.

3. MathPlayer installs all fonts required for display in IE. For display in the Netscape browsers, you may need extra fonts. See http://www.mozilla.org/projects/mathml/fonts/ for more information.

We have an article on our web site that may be helpful: A Math on the Web Publishing Process (http://www.dessci.com/en/support/tutorials/mt_mp/tutorial.htm) . Also if you're using Dreamweaver, we have a tutorial for using Dreamweaver to author XHTML+MathML pages (http://www.dessci.com/en/support/tutorials/mathml/mathmldw.htm) .

Bob Mathews
bobm at dessci.com
Director of Training
Design Science, Inc. -- "How Science Communicates" (http://www.dessci.com/free.asp?free=news)
FREE fully-functional 30-day evaluation of MathType 5
MathType, WebEQ, MathPlayer, MathFlow, Equation Editor, TeXaide