W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2001

Re: Bug report: deitalicizing a formula trashes it

From: Joe Gittings <joe.gittings@ucl.ac.uk>
Date: Thu, 07 Jun 2001 16:11:40 +0100
Message-ID: <3B1F99AC.9745C370@ucl.ac.uk>
To: Irene Vatton <Irene.Vatton@inrialpes.fr>, www-amaya <www-amaya@w3.org>
Whoops, my description of what happens here was slightly wrong.

I should have said this:
I have a summation symbol with an "x,y" below it. After deitalicizing, the ",y"
disappears and the "x" is moved to the right of the summation symbol.

Joe

Joe Gittings wrote:

> Hi Irene,
>
> Unfortunately, I was unable to reproduce it either! (after this problem occurred,
> I had to recreate the formula from scratch).  But I did manage to find another
> formula in my documents which is affected by deitalicization, and where I could
> reliably reproduce the problem.
>
> Here it is before deitalicizing:
>
> <p><em>= <math xmlns="http://www.w3.org/1998/Math/MathML">
>   <munder>
>     <mo>&Sum;</mo>
>     <mrow>
>       <mi>x</mi>
>       <mo>,</mo>
>       <mi>y</mi>
>     </mrow>
>   </munder>
> </math>
> p(x,y) (-log p(x|y))</em></p>
>
> ========================================================
> Here it is after:
>
> <p>= <em><math xmlns="http://www.w3.org/1998/Math/MathML">
> </math>
> </em>
> <math xmlns="http://www.w3.org/1998/Math/MathML">
>   <munder>
>     <mo>&Sum;</mo>
>   </munder>
> </math>
>
> <math xmlns="http://www.w3.org/1998/Math/MathML">
>   <munder>
>     <mrow>
>       <mi>x</mi>
>     </mrow>
>   </munder>
> </math>
> <em>
> <math xmlns="http://www.w3.org/1998/Math/MathML">
> </math>
> </em>p(x,y) (-log p(x|y))</p>
>
> What happens is that I have a summation symbol with an x below it. After
> deitalicizing, the x is moved to the right of the summation symbol.
>
> Thanks,
> Joe
>
> Irene Vatton wrote:
>
> > > I'd like to report the following bug in the MathML support.  I had this
> > > formula in italics:
> > >
> > >                 p(y|x) p(x)
> > > p(x|y) = ------------
> > >                 p(y)
> > >
> > > When I selected it and attempted to de-italicize it, it was mangled into
> > > this:
> > >
> > >                p(y|x)  (grey blob) p(x) p(y)
> > > p(x|y) = -----------------------
> > >
> > > I am using Amaya 4.3 (28th Feb 2001) on Linux.
> > >
> > > Cheers,
> > > Joe
> >
> > I created the same formula and changed the style of the math element. I didn't
> > detect
> > any trouble.
> > Either the bug is fixed or I didn't do exactly the same thing.
> > Could you send me the piece of MathML you used and the exact scenario (how you
> > de-italicize it).
> > Regards
Received on Thursday, 7 June 2001 11:11:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:36 UTC