RE: <ruby>, etc. in HTML5

Anne van Kesteren wrote:

This is just an incomplete subset of the long-existing Ruby Annotation recommendation. In particular, the complex ruby markup (RB, RBC, and RTC) was left out in the HTML 5 version. At least the spanning mechanism of complex ruby is needed for some common situations in Japanese. I believe the above-and-below (left and right) ruby annotations are useful for Japanese language educators as the bottom annotation can be used for romanized transliteration.

It is better to incorporate the whole Ruby Annotation recommendation [1] as-is. 

Also, the example in the HTML 5 draft is bad. In particular, it is misleading because it suggests that <rt> elements should be interleaved within the characters of the words they are annotating. The proper markup is either:




Depending on whether you are treating the characters individually or as a word.

Let me know if you are in need of real-world Ruby examples for Japanese, as my friend is a Japanese instructor and she uses Ruby annotations on a daily basis in Microsoft Office. I can translate her MS Office examples into proper XHTML for you.

Also note that Chinese uses Ruby markup differently than Japanese, so a Chinese-language example would be a good idea as well.


Received on Monday, 26 May 2008 19:16:44 UTC