W3C home > Mailing lists > Public > www-math@w3.org > September 2009

Re: Operator Dictionary MathML 2 vs. MathML 3

From: Max Berger <max@berger.name>
Date: Mon, 7 Sep 2009 14:17:09 +0200
Message-ID: <621ba08c0909070517y5bf9f3a8k1311fca8cfc72bfb@mail.gmail.com>
To: neils@dessci.com
Cc: www-math@w3.org
Neil,

if the spacings for - have changed, this was not updated in the
working draft. Even the version you linked still specifies
thickmathspace for "-". So this may be a bug in the current working
draft. If you want to, I should be able to quickly generate a list of
changes for both operator dictionaries and post it here.

in MathML 2 spec:

http://www.w3.org/TR/MathML2/appendixf.html
"-" form="infix"    lspace="mediummathspace" rspace="mediummathspace"

in MathML 3 spec:
http://monet.nag.co.uk/~dpc/draft-spec/appendixc.html

-	-	hyphen-minus	infix	275	4	4
where 4 referrs to:
4	thickmathspace	0.277778em

(same at: http://www.w3.org/TR/MathML3/appendixc.html )

Max

2009/9/4 Neil Soiffer <neil.soiffer@gmail.com>:
> The operator dictionary is informative, not normative, so "compatibility"
> really isn't broken.  The operator dictionary had languished for many years
> and we have put some effort into updating it to include many new Unicode
> characters.  We made a number of fixes to the operator dictionary in early
> August
>
> I believe the version in MathML 3 should be considered more reliable.  In
> the case of "-", the spacing has *not* changed.  In MathML 2, it was
> "mediumspace" and that is what it is in the operator dictionary for MathML 3
> (at least in the current working draft).  You can see the latest changes by
> viewing the "editor's draft" at http://monet.nag.co.uk/~dpc/draft-spec/
>
> I do see that we somehow lost the prefix forms to at least + and -, so that
> will need to get fixed.
>
> Neil Soiffer
> Senior Scientist
> Design Science, Inc.
> www.dessci.com
> ~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, WebEQ, Equation
> Editor ~
>
>
> On Thu, Sep 3, 2009 at 7:10 AM, Max Berger <max@berger.name> wrote:
>>
>> Dear MathML experts,
>>
>> since the operator dictionary in MathML 3 changed from the one in MathML
>> 2, which one is preferred for visual renderers? There are many small
>> differences (e.g. the space around "-"), which will break compatibility
>> with previous versions. As there is no indication in the MathML file
>> which version is preferred, what is the recommended implementation?
>> Should an implementation provide a switch for MathML 2 vs. 3 rendering
>> mode?
>>
>> Rationale: JEuclid ( http://jeuclid.sourceforge.net/ ) is currently
>> being prepared for MathML 3 support.
>>
>> Max
>>
>> --
>> http://max.berger.name/
>> OpenPGP ID: C93C5700 Fpr: AB6638CE472A499B3959 ADA2F989A2E5C93C5700
>>
>
>
Received on Monday, 7 September 2009 12:17:53 GMT

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