[Date Index]
[Thread Index]
[Author Index]
Re: Re: MathML, Mozilla, fonts and Mathematica 5.2
*To*: mathgroup at smc.vnet.net
*Subject*: [mg61073] Re: [mg61043] Re: MathML, Mozilla, fonts and Mathematica 5.2
*From*: Chris Chiasson <chris.chiasson at gmail.com>
*Date*: Sun, 9 Oct 2005 01:35:44 -0400 (EDT)
*References*: <200510060808.EAA08484@smc.vnet.net> <di59p3$3ib$1@smc.vnet.net> <200510080649.CAA20969@smc.vnet.net>
*Reply-to*: Chris Chiasson <chris.chiasson at gmail.com>
*Sender*: owner-wri-mathgroup at wolfram.com
Others are probably already aware of the problems if they are testing
MathML on their servers...
Mozilla ignores the mime type if it sees a file with the .html
extension. It will automatically use text/html even if the document is
xml. Also, if the document is .xml, it will treat the file as xml even
if it has regular (non-well formed, broken, busted) html in it
(generating syntax errors, etc). The best way to test your files is to
name them with an extension that does not trigger one path or the
other (see http://www.mozilla.org/newlayout/xml/ ).
On 10/8/05, Steven T. Hatton <hattons at globalsymmetry.com> wrote:
> Igor Antonio wrote:
>
> > Steven T. Hatton wrote:
> >> I'm running SuSE 9.3 on a P4. IIRC, the fonts required to support MathML
> >> with Mozilla on Linux are not the same are are distributed with the more
> >> recent versions of Mathematica. I don't believe I needed to do this with
> >> Mathematica 5.2, but I put the fonts in /usr/X11R6/lib/X11 and ran the
> >> font
> >> font configuration script on them. The following demonstrates that X
> >> sees these fonts:
> >> $ xlsfonts | grep ^\-wri\- | wc -l
> >> 709
> >>
> >> When I visit sites using MathML I get an error saying I don't have Math1,
> >> Math2 and Math4. I believe all of these are fonts from Wolfram Research.
> >> I really, really, really do not want to have two sets of Mathematica
> >> fonts
> >> installed on the same system that I run Mathematica on. Is there a way
> >> to get Mozilla to see the newer fonts?
> >>
> >> This is an example of a site that causes the error message to appear:
> >> http://www.w3.org/Math/testsuite/
> >>
> >> For some reason it did not appear when viewing the set of tests under
> >> General->Math, but it appeared when I looked at the tests under
> >> General->GenAttribs.
> >>
> >> Many MathML renderings work fine in Mozilla. The biggest problem has to
> >> do
> >> with Matrices. The braces are rendered as normal parentheses of one row
> >> height.
> >>
> >
> > Steven,
> >
> > The fonts used since Mathematica 4.2 have changed. They are named
> > Mathematica*
> > instead of Math*. The fonts used MathML pages are from Mathematica 4.1.
> >
> > You can download the 4.1 Math* fonts here (in your case, use the last
> > link. Others should choose the appropriate link based on your OS)
> >
> >
> http://support.wolfram.com/mathematica/systems/macintosh/general/latestfonts.html
> >
> http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
> >
> http://support.wolfram.com/mathematica/systems/unix/general/latestfonts.html
> >
> http://support.wolfram.com/mathematica/systems/linux/general/latestfonts.html
> >
> >
> > For more details on your issue, visit:
> > www.mozilla.org/projects/mathml/fonts
>
> As it turns out, what worked was to get the 4.1 fonts for Windoze, and
> install them on my SuSE 9.3 partition. I believe all I needed were the
> TrueType fonts. I'm currently running an XFS enabled build with XFS
> running.
>
> http://support.wolfram.com/mathematica/systems/windows/general/latestfonts.html
>
> Also, after thinking about what I had done in the past, I realized that
> Mozilla doesn't like MathML to be served out in files with .html
> extensions. If I put .xml extensions on my own files, they work (assuming
> my mimetypes are configured correctly on the server). As for pages served
> out by others, I don't know how to get Mozilla to handle them correctly if
> they are .html.
> --
> "Philosophy is written in this grand book, The Universe. ... But the book
> cannot be understood unless one first learns to comprehend the language...
> in which it is written. It is written in the language of mathematics, ...;
> without which wanders about in a dark labyrinth." The Lion of Gaul
>
>
--
Chris Chiasson
http://chrischiasson.com/contact/chris_chiasson
Prev by Date:
**RE: a very simple graphics problem**
Next by Date:
**V5.2 or 5.1 slower than v.5.0 for NIntegrate ?**
Previous by thread:
**Re: MathML, Mozilla, fonts and Mathematica 5.2**
Next by thread:
**Re: MathML, Mozilla, fonts and Mathematica 5.2**
| |