The d4p_rubyDomain defines equivalent of HTML ruby elements for marking up ideographic characters, such as those done in Japanese language documents. The rules for these elements are the same as the rules for HTML5 ruby elements. Note: This domain will be replaced by an equivalent domain DITA 1.3.

The ruby domain provides a single top-level element, @ruby, which then holds some combination of phrase-level content (the text to which the ruby applies), and some combination of <rb>, <rp>, and <rt> elements. These elements correspond directly to the HTML 5 and HTML 4 @ruby markup (the main difference being that in HTML 5 the <rb> (ruby base) element is not used).

For example, Japanese content with a ruby would be marked up like so: (NB: This does not display properly in generated PDF.)

<p> 探険船シビリアコフ号の北氷洋航海中に撮影されたエピソード映画の中に、一頭の<ruby>






For HTML output the markup is output exactly as tagged in the DITA source and most browsers will render the ruby text above the base text. When that rendition is not provided, then the ruby text is given after the base text within parantheses.

d4p_rubyDomain.ent and d4p_rubyDomain.mod