From: Mikko Rantalainen <mikko.rantalainen@peda.net>

Date: Wed, 11 May 2005 11:35:00 +0300

Message-ID: <4281C3B4.1010700@peda.net>

To: www-math@w3.org

Date: Wed, 11 May 2005 11:35:00 +0300

Message-ID: <4281C3B4.1010700@peda.net>

To: www-math@w3.org

I'm trying to generate MathML automatically from simple text syntax and I'm wondering which is the correct markup. Given source text like b * (-a) my current implementation generates <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>b</mi> <mo>⁢</mo><!-- or ⋅ --> <mrow> <mo>(</mo> <mo>−</mo><!-- $$ --> <mi>a</mi> <mo>)</mo> </mrow> </mrow> </math> I'm wondering if the location marked with $$ is ok? Should another symbol be used for minus sign when its intent is to describe "negation of a" instead of "minus operator followed by a"? Or should the renderer use short minus sign automatically even though I use −? At least Mozilla renders long and ugly minus sign here. On the other hand b - a generates <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mi>b</mi> <mo>−</mo> <mi>a</mi> </mrow> </math> which looks good at least in Mozilla. -- MikkoReceived on Wednesday, 11 May 2005 08:35:05 UTC

*
This archive was generated by hypermail 2.3.1
: Tuesday, 6 January 2015 21:27:36 UTC
*