Open murata2makoto opened 4 years ago
How we determine the boundary between the shot and long annotations?
The same annotation length can have different impacts depending on the line length. Considering why we want to differensiate the shot and long cases is their impact to the line adjustments, probably we want to define the short and long relative to the line length?
@kidayasuo
How we determine the boundary between the shot and long annotations?
This is a good question, but it is probably a topic for CSS Ruby rather than this Simple Ruby spec.
BTW, I find CLreq use "ruby" as a synonym for "interlinear annotation".
BTW, I find CLreq use "ruby" as a synonym for "interlinear annotation".
Yes. IIUC these terms are currently used as follows:
English (jlreq) | Japanese | English (clreq) | Traditional Chinese |
---|---|---|---|
interlinear notes | 行間注 | interlinear comments | 行間批語 |
ruby | ルビ | interlinear annotations | 行間注 |
The same annotation length can have different impacts depending on the line length. Considering why we want to differensiate the shot and long cases is their impact to the line adjustments, probably we want to define the short and long relative to the line length?
In addition to that, I suppose there is case of interlinear annotations whose first character aligns to its base (no real example in hand as for now...), although JLreq only mentions to interlinear annotation in its note, and its figure takes an alignment way as the same as ruby...
Based on experiences with Japanese DAISY textbooks, the technical committee of the Japanese DAISY Consortium (chaired by me) identified five types of ruby (see this document in Japanese). The first type of ruby provides phonetics. The others don't.
I am not sure whether the third and the forth types in this document are interlinear notes or ruby. The third type provides additional information such as years of life and death. The forth provides Japanese phonetics for foreign words. The fifth type is double-sided ruby.
Related discussions on the mailing list (in Japanese): https://lists.w3.org/Archives/Public/public-i18n-japanese/2020JulSep/0025.html
FWIW, css-ruby recently introduced the term "interlinear annotation": https://github.com/w3c/csswg-drafts/commit/9a3aef31564f4c9a753f21bb486b6333807fef1a
I think that short inter-linear annotations that do not allow line breaks can be handled as described in this document. So, let me propose two changes to the note in Section 1.
Lengthy inter-linear notes requiring line breaks within both the base text and the note itself are outside the scope of this document.
Short inter-linear notes can be handled as described in this document.