Re: Intent and "bad" MathML

On 10/8/21 11:58 PM, Neil Soiffer wrote:
> David C's example of ways to write a double primed piece of math got me thinking about how 
> intent would work with that.
> 
> Our discussions so far have avoided discussing "bad" MathML. But we probably need to have 
> that discussion as "bad" MathML makes using intent harder. For example, what's the intent 
> markup for this MathML:
> <math xmlns="http://www.w3.org/1998/Math/MathML 
> <https://gcc02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2F1998%2FMath%2FMathML&data=04%7C01%7Cbruce.miller%40nist.gov%7Cc4417f2d06e54e9e67bf08d98ad92a35%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C637693487586290373%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ywFd02C3tU5CRZzLCAT0eeC4AN4jBxlYh076jBDa2Ek%3D&reserved=0>">
>      <mi>x</mi>
>      <mo>'</mo>
>      <mo>'</mo>
>      <mo>=</mo>
>      <msqrt>
>          <mn>1</mn>
>          <mo>-</mo>
>          <mi>y</mi>
>          <mo>'</mo>
>          <mo>'</mo>
>      </msqrt>
> </math>
> This is not hypothetical -- this is the output from WIRIS's editor for
> image.png
> Something like this seems to require either:
> 1) rewriting the MathML by hand to merge the primes (WIRIS uses apostrophes) and/or add 
> mrows around x ' ' and y ' '
> 2) using a functional intent notation on the math and msqrt tags
> 3) giving the entire speech string on the math tag
> 4) more or less give up on hand remediation for MathML like this and insist that a better 
> MathML generator be used.

or
  5) just read it out literally.
For the example given, that wouldn't be so terrible, though it would certainly
inhibit doing anything fancy with it.
You still might want to *recommend* 1--4, but it doesn't seem to require it.

> Whatever solution we come up with, we need to have an answer for what to do about MathML 
> like this.
> 
>      Neil
> 


-- 
bruce.miller@nist.gov
http://math.nist.gov/~BMiller/

Received on Saturday, 9 October 2021 11:45:53 UTC