1 of 12

Revisiting the ruby terminology

MURATA Makoto, Florian Rivoal, Elika Etemad, and Shimono Atsushi

​

2021-04-05

2 of 12

Motivations

The terminology in JLreq is chaotic.

Let’s use better terms in simple ruby, text-to-speech requirements, the next version of JLreq, and CLreq!

Ideally, our terms should be applicable to any document description language including HTML, CSS, OOXML, IDML, ODF, and so forth.

3 of 12

Consensus

A separate W3C Note dedicated to the ruby terminology

4 of 12

Ruby Base and Ruby Annotation

ruby base

ruby annotation

Everybody appears to like these two terms.

5 of 12

Ambiguous term: ruby

  1. ruby annotations?�
  2. base-annotation pairs?�
  3. attaching ruby annotations to ruby bases? (consider 総ルビ and パラルビ)

​

It’s too late to choose one of them.

6 of 12

ruby bases: not necessary text

math expressions

​

​

chemical expressions

​

company logo

​

character-like images (外字)

​

富士フィルム

シーオーツー

エーエックス 2 乗 プラス ビーエックス プラス シー

7 of 12

Avoid “base character” and “base text”

Unless you are talking about the case that ruby bases are sequences of characters, don’t use these terms.

8 of 12

Mono ruby, group ruby, and jukugo ruby

WHATWG people have been confused. Non-expert Japanese are also confused.

We prefer mono-style ruby, group-style ruby, and jukugo-style ruby. We only use these words for styling. We use different words for markup that allows these styles.

​

The terminology document should have an abstract example of using the same markup for different styles

9 of 12

general ruby and para ruby

These terms are very unfortunate. Let’s stop using them!

Q1: Thorough ruby, full ruby, or even “Attaching ruby to all of the CJK idegraphic characters”?

Q2: Partial ruby, partial ruby-anntation, or even “Attaching ruby to some of the CJK ideographic characters”?

Consensus: (fully-annotated | partially-annotated) ruby (markup | style)

Not in CSS Text, but in use case documents

10 of 12

New term for pairs of ruby bases and ruby annotations?

Before or after line breaking?

Recall that <ruby> elements of HTML have both ruby bases and ruby annoations

Also recall that a <ruby> element can have multiple base-annotation pairs.

In the case of jukugo-ruby, line breaking may divide one base-annotation pair into two things.

​

Consensus: No terms in the terminology document, since different technologies handle such pairs differently.

Shimono-san has a license to invent something for Simple Ruby.

​

11 of 12

Interleaved and layered ruby

Interleaved

Pairs of base-annotation pairs in sequence (e.g, rb rt rb rt rb rt)

​

Layerd

Bases followed by annotations (e.g., rb rb rb rt rt rt)

12 of 12

Updating JLreq?

Pros

  1. Consistency of the new terminology with the most well-known document in this area

Cons

  1. Too much work is needed
  2. This opens a can of worms. JLreq has other problems with the terminology including mismatches between the Japanese and English versions

In the terminology document, we should at least mention discrepancies with JLreq.