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

RE: mo attributes?

From: Robert Miner <robertm@dessci.com>
Date: Wed, 5 Jul 2006 09:53:57 -0700
Message-ID: <D1EFB337111B674B8F1BE155B01C6DD60106349B@franklin.corp.dessci>
To: "Eitan Gurari" <gurari@cse.ohio-state.edu>, <www-math@w3.org>

Hi Eitan,

I don't see anything wrong with the MathML code below.  I think it is an
OpenOffice bug if it rejects it.  

It would also be fine to leave off the form and fence attributes, since
for a ")" they should default to the values you are setting anyway.  But
it isn't incorrect to include them.

--Robert

Robert Miner
Director, New Product Development

Design Science, Inc.
140 Pine Avenue, 4th Floor
Long Beach, California  90802
USA
Tel:  (651) 223-2883
Fax:  (651) 292-0014
robertm@dessci.com
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, WebEQ, Equation Editor,
TexAide ~

 

> -----Original Message-----
> From: www-math-request@w3.org 
> [mailto:www-math-request@w3.org] On Behalf Of Eitan Gurari
> Sent: Sunday, June 18, 2006 11:37 AM
> To: www-math@w3.org
> Subject: mo attributes?
> 
> 
> MathML discusses at http://www.w3.org/TR/REC-MathML/chap3_2.html the
> attributes of the mo elements.  In particular, for the `form' 
> attribute 
> the following values are offered.
> 
>   	prefix | infix | postfix
> 
> Is it possible to provide a `form' value to a mo element that appears
> in isolation? For instance, in the case
> 
>       <mtd> <mo form="...">=</mo> </mtd>
> 
> motivated by the following example.
> 
>      \begin{eqnarray*}  
>      a &=& b \\  
>      c &=& d 
>      \end{eqnarray*}
>      
>      
>      <mtable columnalign="right center left">
>        <mtr>
>          <mtd> <mi>a</mi> </mtd>
>          <mtd> <mo>=</mo> </mtd>
>          <mtd> <mi>b</mi> </mtd>
>        </mtr>
>        <mtr>
>          <mtd> <mi>c</mi> </mtd>
>          <mtd> <mo>=</mo> </mtd>
>          <mtd> <mi>d</mi> </mtd>
>        </mtr>
>      </mtable>
>      
> Also, is there any problem with the following code?
> 
>      <mo form="prefix" fence="true" stretchy="true" 
> lspace="0em" rspace="0em"> ( </mo> 
>      <mi>x</mi> 
>      <mo form="postfix" fence="true" stretchy="true" 
> lspace="0em" rspace="0em"> ) </mo>
>      
> OpenOffice rejects the above MathML code fragments.
> 
> -eitan
> 
> 
>      
>      
>      
> 
> 
> 
Received on Wednesday, 5 July 2006 16:54:12 GMT

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