Live data from Hacker News

HTML Ruby Markup Extensions Working Draft Published

w3.org

1–10 of 15 posts

Re: HTML Ruby Markup Extensions Working Draft Published

#4
> Ruby, a form of interlinear annotation, are short runs of text alongside the base text. They are typically used in East Asian documents to indicate pronunciation or to provide a short annotation.

> This specification revises and extends the markup model established by HTML to express ruby.

The posted link is a short announcement. Here are the actual specs:

https://www.w3.org/TR/2024/WD-html-ruby-extensions-20240507/

Re: HTML Ruby Markup Extensions Working Draft Published

#8
Very nice to see some progress here. I think "CSS Ruby Annotation Layout Module Level 1" saw most work around 2013/2014, there are also specifications for ruby that are part of XHTML and HTML 5 standards.

Even when ruby markup is popular with south-east asian scripts I mostly want to use it for interlinear text or textspan-level inline annotations for a software to learn languages.

I remember with the ruby specified in XHTML standard there were ergonomic issues when ruby is written, i.e. it's nice for interlinear text markup to not have to close HTML tags. Also there were issues where people did not understand what the differences between mono ruby, group ruby and jukugo ruby is (correct me if I remember it wrong).

Ruby seems to be not implemented well in browsers, some ruby-related tags were deprecated, the specification posted is part of the restoration of these tags [1]. But last time I checked there was interest of all major browser manufactors to implement ruby standard properly.

[1] https://github.com/whatwg/html/pull/6478

Re: HTML Ruby Markup Extensions Working Draft Published

#9
post #3

Well this is tremendously confusing. I 100% thought this was going to be 'ERB' related...

Yeah, but it's probably unavoidable, the term "ruby" used in British typography is 200 years old [1].

*Update:* Oh and it's interesting, "rubi" was used but the W3C recommendation from 2001 made "ruby" more common as spelling.

[1] https://en.wikipedia.org/wiki/Agate_(typography)

Post reply on HN