Jump to content

Any one done mathsML


Richard Principal

Recommended Posts

Well, there's a great MathML reference right here:http://www.zvon.org/xxl/MathML/Output/index.htmlBut if it's just a straight line, then put the C inside a <span class="line">, and in the CSS, put this:.line {border-top: 1px color solid;border-bottom: 0px;border-right: 0px;border-left: 0px;}Hope that helps.

Link to comment
Share on other sites

Good, good, that is doing it with cascade style sheets which I have already at the web site, and I should of been able to work that out myself,But if we go to your link you gave and go to "power" you see<apply> <power/> <ci> x </ci> <cn> 3 </cn></apply>all I can get is x3Hint:I have a feeling you can NOT do this on a HTML page!You have to put something in say a *.XML page and have say a XSL file

Link to comment
Share on other sites

Well, you can have MathML in an XHTML 1.1 page, but it has to be served with it's correct MIME type of application/xhtml+xml, making it useless for IE.But yes, you can have XML with XSLT that would transform the XML into a fancy XHTML. Browsers with MathML support should show the MathML code, and ones without MathML support but with XSLT one will show the XHTML.

Link to comment
Share on other sites

Oh, whoops! Try putting this on your XHTML page, and make sure you're using a browser that supports mathML.<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow>...</mrow></math>Edit:Ok, disregard that. MathML is way more complex than I had ever though. I've looked through some great articles and faqs, and here are a couple of links to better understand it. The W3C mathml example suite: http://www.w3.org/Math/testsuite/A great mathml article: http://72.14.209.104/search?q=cache:tzNeRj...lient=firefox-aMathML Browser Support: http://cnx.org/content/m10845/latest/I'll get you more links if I find any. :)Choco

Link to comment
Share on other sites

First go to http://www.w3.org/Math/and see if the "test page" works If not, you have to go to http://www.mozilla.org/projects/mathml/fonts/ to download and install the MathsML fonts(HOW MANY PEOPLE (visitors) ARE GOING TO DO THAT WHEN YOU HAVE MATHSML AT YOUR WEB SITE)The test at http://www.w3.org/Math/ failed and I got the following window pop-upTo properly display the MathML on this page you need to install the following fonts:CMSY10, CMEX10, Math1, Math2, Math4.For further information see:http://www.mozilla.org/projects/mathsML/fontsWell I went to the web site and downloaded "mit-mathml-fonts-1.0-fc1.msi" it is about 2 meg in file size (for windows 98). Just for interest I did a file search on math*.* and found I now have lots of math*.ttf fonts in the windows\fonts folder. Now the test at http://www.w3.org/Math/ works I just need to write the file,

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...