Re: XML and the DTDs and etc.

*To*: mathgroup at smc.vnet.net*Subject*: [mg37159] Re: [mg37136] XML and the DTDs and etc.*From*: "Steven T. Hatton" <hattons at globalsymmetry.com>*Date*: Sun, 13 Oct 2002 05:57:24 -0400 (EDT)*References*: <98732C3B53A0D311A5C20090273ABE530FC87B6A@ECUMAIL2>*Sender*: owner-wri-mathgroup at wolfram.com

I'm using mozilla I built a few hours ago. The classical mechanics site look very nice. I did, however receive the errors described here: http://baldur.globalsymmetry.com/proprietary/com/wri/ch08.html To properly display the MathML on this page you need the following fonts: CMSY10, CMEX10, Math1, Math2, Math4. For further infromation see: http://www.mozilla.org/projects/mathml/fonts Among the fonts which I seem to be missin is the one used to display the imaginary coeficient in the MathML discussed below. You will find more discussion of my experiences with XML and Mathematica on the page I linked to above. I believe there is something which still needs to be done with my fonts, but I haven't had time to research it. If anyone knows the solution, I would really appreciate knowing. I've saw the same behavior from mozilla on XP as I do in Linux. The XP setup, doesn't have Mathematica installed, nor any Mathematica fonts. The Linux Box has everything I can think of installed. The display is a bit better on the XP system, but for the most part, the results are similar. STH On Saturday 12 October 2002 10:07 am, you wrote: > Steven > I have done a great deal with MathML and esp with Mathematica 4.2 > a) you need a modern browser NS 7.0 or Mozilla 1 or Amaya > b) IE needs a plugin www.dessci.com has mathplayer but there are other > issues > c) The rendering is done by the browser as is the XML parsing > d) an on line example is at > > http://core.ecu.edu/phys/flurchickk/Classes/CM4226/classicalMechanics2-1.xm >l e) you can test the browser with the w3c test site > http://www.w3.org/Math/testsuite/ > -----Original Message----- > From: Steven [mailto:hattons at speakeasy.net] To: mathgroup at smc.vnet.net > Sent: Saturday, October 12, 2002 5:05 AM > To: mathgroup at smc.vnet.net > Subject: [mg37159] [mg37136] XML and the DTDs and etc. > > > I'm trying to get a handle on Mathematica's XML capabilities. I'm finding > a few > things to be a bit confusing. One of these is where the > http://www.wolfram.com/XML/DTD/2001/NBMLwMathML.dtd really is. Another > point of confusion is how exactly the rendering in the browser is expected > to take place. If needs be, I can spin up my own CSS. Does Mathematica > provide > CSS for MathML or NBML? I've character mentioned entity references before, > but I still haven't found an answer. What I've found here seems > inconsistent with what Mathematica chose for the character entity reference > for an > imaginary number: http://www.bitjungle.com/~isoent/ > > This is what Mathematica produced for a complex number: > > <b><p class="Input"><math xmlns='http://www.w3.org/1998/Math/MathML'> > <mrow> > <mrow> > <mi>cpx</mi> > <mtext> </mtext> > > <mo>=</mo> > <mtext> </mtext> > <mrow> > <mn>1066</mn> > <mtext> </mtext> > <mo>+</mo> > > <mtext> </mtext> > <mrow> > <mn>42</mn> > <mo>⁢</mo> > <mi>ⅈ</mi> > </mrow> > </mrow> > </mrow> > > <mo>;</mo> > </mrow> > </math></p></b> > > If I understand the http://www.bitjungle.com/~isoent/ent.xml, the imaginary > number symbol should be ࠿ which is a black letter capital 'I'. That > doesn't seem correct to me. I'm currently stumbling around in here looking > for a possible clue as to what I should expect: > http://www.physiome.org.nz/Docs/web-tech/specs/mathML20/chapter3.html > > Has anybody worked with this? > > STH