W3C home > Mailing lists > Public > www-math@w3.org > July 2006

Re: Math on the web without MathML (CSS 2.1 rendering for HTML and XML)

From: David Carlisle <davidc@nag.co.uk>
Date: Mon, 17 Jul 2006 13:01:08 +0100
Message-Id: <200607171201.k6HC18e7008782@edinburgh.nag.co.uk>
To: juanrgonzaleza@canonicalscience.com
Cc: www-math@w3.org


>I forget to cite the trouble with decimal sign.
what exactly is the trouble that you see, and what maekup would you
suggest that didnt have the same problem?

> content MathML would not asume
> presentational stuff for something like 3.1416, rendered as 3.1416 or
> 3,1416 (Spain).

Nothing in the MathML specification assumes that <cn>3.1416</cn> is
rendered as 3.1416. if a system renders it as 3,1416 then that os
perfectly conformant. As would be an input document that used <cn>3,1416</cn>
Note that it's fairly easy to do this kind of change while displaying
from mathml markup as each number is explictly tagged 
 for example if you are using xsl to style your mathml you'd just add
<xsl:template match="m:cn"><xsl:value-of select="translate(.,'.',',')"/></xsl:template>
It is much harder to cope with such presentational differences if
numbers are just part of an unmarked up text stream.

David
Received on Monday, 17 July 2006 12:01:50 GMT

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