W3C home > Mailing lists > Public > www-math@w3.org > January 2004

RE: When to stretch parentheses

From: Bernhard Keil <Bernhard.Keil@soft4science.com>
Date: Fri, 30 Jan 2004 14:12:52 +0100
To: "'Luca Padovani'" <lpadovan@cs.unibo.it>, <www-math@w3.org>
Message-Id: <20040130131113.759A4880411@egp.w3.org>

>One of the reasons why mathml markup should be properly grouped is that software cannot choose in general what is a "good"
rendering. 
I agree absolutely.

If one would pass the grouping role from an element  ( <mrow> ) to "operator pairs" 
( <mo>(</<mo>  <mo>)</<mo>  )  than things get out of being determined very
quickly.

Take something like this:

        < A | B | C >        
     
If a piece of software would just try to guess matching operator pairs it would be wrong in many cases.         

Bernhard
 

-----Original Message-----
From: www-math-request@w3.org [mailto:www-math-request@w3.org] On Behalf Of Luca Padovani
Sent: Friday, January 30, 2004 1:23 PM
To: www-math@w3.org
Subject: Re: When to stretch parentheses


Hello Stephan,

On Fri, 2004-01-30 at 12:50, Semirat Stephan wrote:
> However, when you write the formula by hand on a paper (i think that \
is > what to be expected by a "good" renderer, isn't it ? that is to be the 
> most readable possible) you only stretch parenthesis with what they 
> contain, do you ?
> 
> So my view is that Mozilla has made the good choice...

One of the reasons why mathml markup should be properly grouped is that software cannot choose in general what is a "good"
rendering. With properly grouped markup both Amaya and Mozilla would render the formula correctly (the parentheses would stretch
only to span the height of the CM string), still being compliant with the spec. So, although Mozilla has made the good choice, it
has a little bug. 

--Luca
Received on Friday, 30 January 2004 08:11:32 GMT

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