W3C home > Mailing lists > Public > www-math@w3.org > November 2002

[Patrice Treton <patrice.treton@ac-rouen.fr>] Putting maths on the web

From: Max Froumentin <mf@w3.org>
Date: Sat, 02 Nov 2002 20:10:13 +0100
To: www-math@w3.org
Message-ID: <86of973i0a.fsf@sophia.inria.fr>

[de-HTMLised. - Max.]

To: www-math@w3.org
From: Patrice Treton <patrice.treton@ac-rouen.fr>
Subject: [Moderator Action] Putting maths on the web
X-Diagnostic: Mail coming from a daemon, ignored


Hello,
Here at last, Math on the web !
What a surprise when I found your page 'Putting mathematics on the
Web with MathML' at http://www.w3.org/Math/XSL/.
I immediately followed the instructions and could write a page with
MathML, readable with Mozilla/Netscape 7 and Internet Explorer, as
described.
However, I met the following problems which are a bit annoying, as I
whish I could use MathML on a regular basis from now on.

- How can entities as &eacute; or &plusmn; be recognized ?
  As I write in french, having no accent is awkward even for
ordinary text.
  What needs to be added to the example file below (I only use
presentation MathML) ?
  I tried to add :
    PUBLIC '-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN'
'http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd'

  in the DOCTYPE part of the file below. It solves the problem for
Mozilla, but not for IE which doesn't like it. 
- Is there a way to select MathPlayer as MathML renderer on IE, but CSS
on Mozilla ?
  Or can one define an ordered list : MathPlayer first, CSS second,
for instance ?
- The attribute : display='block' isn't interpreted correctly
with IE. Is this normal ? 
- Will the files pmathml.xls and pmathmlcss.xls change in the future ?

  If so, could there be a 'official' web page, where we
could check the version and download them if necessary ?
Thanks,
Patrice Treton
Math teacher.
---------------------- Sample xml with MathML
-------------------------
<?xml version='1.0'>
<xml-stylesheet type='text/xsl'
href='pmathml.xsl'?>
<!DOCTYPE html 
   [<!ENTITY mathml
'http://www.w3.org/1998/Math/MathML'>]
>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
  <title>MathML tests</title>
</head>
<body>
<h2>MathML tests</h2>
<p>OK with IE and Mozilla
<math xmlns='&mathml;'
display='inline'>
  <mfrac>
    <mi>a</mi>
    <mi>b</mi>
  </mfrac>
</math>
</p>
<p>OK with Mozilla, wrong with IE</p>
<math xmlns='&mathml;'
display='block'>
  <mfrac>
    <mi>a</mi>
    <mi>b</mi>
  </mfrac>
</math>
<p>Wrong with both :<br />
French e : &eacute<br />
Plus-minus : &plusmn;
</p>
</body>
</html>
Received on Saturday, 2 November 2002 14:10:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:51 GMT