Re: mover vs latin chars with diacriticals

> By always using mover, you  
> achieve a more _uniform_ encoding, and you make the markup less  
> ambiguous

Consider q-dot. In Unicode there is unique representation q̇
(q followed by combining dot above). In MathML it could be
	<mover><mi>q</mi><mo>.</mo></mover>
	<mover><mi>q</mi><mi>.</mi></mover>
	<mover><mrow><mi>q</mi></mrow><mrow><mo>.</mo></mrow></mover>
	<munderover><mi>q</mi><mi/><mo>.</mo></munderover>
	<mover><mrow><mi>q</mi><mrow/></mrow><mo>.</mo></mover>
	<mover><mi>q</mi><mo>&#x00b7;</mo></mover>
	<mover><mi>q</mi><mo>&#x0307;</mo></mover>
	<mover><mi>q</mi><mo>&#x0387;</mo></mover>
	<mover><mi>q</mi><mo>&#x2024;</mo></mover>
	<mover><mi>q</mi><mo>&#x22C5;</mo></mover>
I can't write all possibile ways of encoding q-dot in MathML explicitly as their number is not finite.

> On the other side, encoding (pieces of) a mathematical formula using  
> Unicode shortcuts reduces your opportunities to decorate the document  
> with information. If the differentiation symbol is in its own <mo>  
> element, 
> it can have an hyperlink to its definition, 
Did you try to click on that hyperlink (applied to dot)?
In any case there is nothing that prevents you from applying hyperlink to accent
	q<a href="javascript:alert('Congratulations! You did not miss target.')" title="Try to click me!">&#x0307;</a>
> it can be  
> colored differently from the base character, 
	q<span style="color:red">&#x0307;</span>
> it can be searched  
> independently of the variable it is applied to.
	search(/\u0307/g)

> The fact that the differentiation is encoded using an mover element  
> does not prevent the MathML rendering engine from using a single  
> glyph where the base character and the dot are put together.
Did you take into account that there are hundred ways of encoding base in MathML
hundred ways of encoding dot (which dot?) and hundred ways of putting them together?

> Also, it occurs often to combine a "diacritical mark" with more than  
> a single character. 
In this case it is no longer "diacritical mark". 

> Think of a wide tilde, or a wide hat, or a vector  
> arrow spanning a whole expression such as (x + y). 
Just add couple of attribute values to menclose element.


-- 
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com

Powered by Outblaze

Received on Sunday, 30 April 2006 09:22:13 UTC