Richard Principal Posted June 30, 2006 Share Posted June 30, 2006 Any one done mathsML I have been to http://www.w3.org/Math/it tells you a lot, but then nothing? :)like how to get started, not like w3schools that is a very good web site it gives you the works, step by step. What I would realy like is to put a bar above a letter, like a C with a bar on top so in electronics logic it reads as not C.Thanks Link to comment Share on other sites More sharing options...
Chocolate570 Posted July 1, 2006 Share Posted July 1, 2006 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 More sharing options...
Richard Principal Posted July 1, 2006 Author Share Posted July 1, 2006 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 More sharing options...
boen_robot Posted July 1, 2006 Share Posted July 1, 2006 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 More sharing options...
Chocolate570 Posted July 1, 2006 Share Posted July 1, 2006 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 More sharing options...
Richard Principal Posted July 6, 2006 Author Share Posted July 6, 2006 I dont think MathML is complex,But it does seem to be a closely guarded secret,or is it I have not had time to do my homework yet I will try something and let you all know with my own brief tutorial (if it works) Link to comment Share on other sites More sharing options...
Richard Principal Posted July 6, 2006 Author Share Posted July 6, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now