W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

Re: [html-bidi] Any bidi requirements for MathML (or MathMl in HTML)?

From: Matitiahu Allouche <matial@il.ibm.com>
Date: Wed, 18 Aug 2010 10:57:03 +0300
To: Bert Bos <bert@w3.org>
Cc: public-i18n-bidi@w3.org, public-i18n-bidi-request@w3.org
Message-ID: <OF0392DF29.E6500866-ONC2257783.0026B6ED-C2257783.002BB8CB@il.ibm.com>
The bidi-oriented clauses in MathML3 seem very reasonable IMHO.

Shalom (Regards),  Mati
           Bidi Architect
           Globalization Center Of Competency - Bidirectional Scripts
           IBM Israel
           Phone: +972 2 5888802    Fax: +972 2 5870333    Mobile: +972 52 

From:   Bert Bos <bert@w3.org>
To:     public-i18n-bidi@w3.org
Date:   17/08/2010 16:33
Subject:        [html-bidi] Any bidi requirements for MathML (or MathMl in 
Sent by:        public-i18n-bidi-request@w3.org

This is a somewhat vague question, and also rather late, given that 
MathML3 is as good as finished (it's a Proposed Recommendation), but I 
just wondered if anybody has thought about math...

The html-bidi[1] draft talks about requirements on HTML and CSS. It 
doesn't mention MathML, although the current MathML also has bidi 
support. And in the current plans for HTML5, MathML will be an integral 
part of the HTML language.

Are there no additional requirements on MathML?

The problem of bidi isolation at least doesn't seem to occur in MathML:

Section 3.1.5[2] of MathML3 describes the bidi features of MathML. It is 
possible to set the overall direction of a formula as well as the base 
direction of individual tokens.

Changing the overall direction acts almost like a mirror, e.g., "a + b" 
is written as "b + a" and superscripts (aČ) are written on the left of 
their base (Ča).

Tokens are symbols (+, =), numbers (12, 0.5), letters (x, y), words 
(sin, cos), or phrases ("such that," "theorem 1"). Setting a direction 
on tokens should rarely be needed, the inherited direction and the 
Unicode bidi algorithm are usually enough.

Unlike in HTML, each token is "directionally isolated" (in the terms of 
html-bidi WD), so a BDI attribute is not needed.

[1] http://www.w3.org/TR/2010/WD-html-bidi-20100304/

[2] http://www.w3.org/TR/MathML3/chapter3.html#presm.bidi

  Bert Bos                                ( W 3 C ) http://www.w3.org/

  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France

Received on Wednesday, 18 August 2010 07:58:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:24:37 UTC