| 1 |
#en |
#en |
| 2 |
Where <a href="#phrasing0">phrasing content</a> is expected. |
Where <a href="#phrasing0">phrasing content</a> is expected. |
| 3 |
#ja |
#ja |
|
<a href="#phrasing0">語句付け内容</a>が期待される場所。 |
|
| 4 |
|
<a href="#phrasing0">語句付け内容</a>が期待される場所。 |
| 5 |
|
|
| 6 |
|
#en |
| 7 |
|
One or more groups of: <a href="#phrasing0">phrasing content</a> |
| 8 |
|
|
| 9 |
|
followed either by a single <code><a href="#rt">rt</a></code> element, or |
| 10 |
|
an <code><a href="#rp">rp</a></code> element, an <code><a |
| 11 |
|
href="#rt">rt</a></code> element, and another <code><a |
| 12 |
|
href="#rp">rp</a></code> element. |
| 13 |
|
#ja |
| 14 |
|
次の1つ以上の群: <a href="#phrasing0">語句付け内容</a>の後に、 |
| 15 |
|
<code><a href="#rt">rt</a></code> 要素が1つか、または |
| 16 |
|
<code><a href="#rp">rp</a></code> 要素と <code><a |
| 17 |
|
href="#rt">rt</a></code> 要素と別の <code><a |
| 18 |
|
href="#rp">rp</a></code> 要素、のいずれかが続く。 |
| 19 |
|
|
| 20 |
|
#en |
| 21 |
|
The <code><a href="#ruby">ruby</a></code> element allows one or more |
| 22 |
|
spans of phrasing content to be marked with ruby annotations. |
| 23 |
|
#ja |
| 24 |
|
<code><a href="#ruby">ruby</a></code> 要素は、 |
| 25 |
|
1つ以上の語句付け内容の範囲にルビ注釈を付すことができます。 |
| 26 |
|
|
| 27 |
|
#en |
| 28 |
|
A <code><a href="#ruby">ruby</a></code> element represents the spans of |
| 29 |
|
phrasing content it contains, ignoring all the child <code><a |
| 30 |
|
href="#rt">rt</a></code> and <code><a href="#rp">rp</a></code> elements |
| 31 |
|
and their descendants. Those spans of phrasing content have associated |
| 32 |
|
annotations created using the <code><a href="#rt">rt</a></code> element. |
| 33 |
|
#ja |
| 34 |
|
<code><a href="#ruby">ruby</a></code> 要素は、すべての子供 <code><a |
| 35 |
|
href="#rt">rt</a></code> 要素・<code><a href="#rp">rp</a></code> 要素とその子孫を無視したときの、 |
| 36 |
|
当該要素に含まれる語句付け内容の範囲(群)を表します。 |
| 37 |
|
語句付け内容の範囲(群)は、 <code><a href="#rt">rt</a></code> |
| 38 |
|
要素を使って作成される、関連付けられた注釈を持ちます。 |
| 39 |
|
|
| 40 |
|
#en |
| 41 |
|
In this example, each ideograph in the text <span |
| 42 |
|
lang=ja>斎藤信男</span> is annotated with its |
| 43 |
|
reading. |
| 44 |
|
#ja |
| 45 |
|
次の例では、<span |
| 46 |
|
lang=ja>斎藤信男</span>という語中の漢字それぞれに、 |
| 47 |
|
読みを注釈として付しています。 |
| 48 |
|
|
| 49 |
|
#en |
| 50 |
|
This might be rendered as: |
| 51 |
|
#ja |
| 52 |
|
これは、次のようにレンダリングされましょう。 |
| 53 |
|
|
| 54 |
|
#en |
| 55 |
|
<img alt="The four main ideographs, each with its reading annotation |
| 56 |
|
rendered in a smaller font above it." src="images/sample-ruby.png"> |
| 57 |
|
#ja |
| 58 |
|
<img alt="4つの主たる漢字があり、それぞれの読みの注釈が小さなフォントで漢字の上にレンダリングされています。" src="http://www.whatwg.org/specs/web-apps/current-work/images/sample-ruby.png"> |
| 59 |
|
|
| 60 |
|
#pattern |
| 61 |
|
As a child of a * element. |
| 62 |
|
#ja |
| 63 |
|
$1 要素の子供として。 |
| 64 |
|
|
| 65 |
|
#en |
| 66 |
|
The <code><a href="#rt">rt</a></code> element marks the ruby text |
| 67 |
|
component of a ruby annotation. |
| 68 |
|
#ja |
| 69 |
|
<code><a href="#rt">rt</a></code> 要素は、ルビ注釈のルビ文部分を示します。 |
| 70 |
|
|
| 71 |
|
#en |
| 72 |
|
An <code><a href="#rt">rt</a></code> element that is a child of a |
| 73 |
|
<code><a href="#ruby">ruby</a></code> element represents an annotation |
| 74 |
|
(given by its children) for the zero or more nodes of phrasing content |
| 75 |
|
that immediately precedes it in the <code><a href="#ruby">ruby</a></code> |
| 76 |
|
element, ignoring <code><a href="#rp">rp</a></code> elements. |
| 77 |
|
#ja |
| 78 |
|
<code><a href="#ruby">ruby</a></code> 要素の子供である |
| 79 |
|
<code><a href="#rt">rt</a></code> 要素は、 |
| 80 |
|
当該 <code><a href="#ruby">ruby</a></code> 要素中で |
| 81 |
|
(<code><a href="#rp">rp</a></code> 要素を無視した時) |
| 82 |
|
直前にある零個以上の語句付け内容の節点に対する注釈 |
| 83 |
|
(子供により与えられます。) を表します。 |
| 84 |
|
|
| 85 |
|
#en |
| 86 |
|
An <code><a href="#rt">rt</a></code> element that is not a child of a |
| 87 |
|
<code><a href="#ruby">ruby</a></code> element represents the same thing as |
| 88 |
|
its children. |
| 89 |
|
#ja |
| 90 |
|
<code><a href="#ruby">ruby</a></code> 要素の子供ではない |
| 91 |
|
<code><a href="#rt">rt</a></code> 要素は、 |
| 92 |
|
その子供と同じものを表します。 |
| 93 |
|
|
| 94 |
|
#en |
| 95 |
|
As a child of a <code><a href="#ruby">ruby</a></code> element, either |
| 96 |
|
immediately before or immediately after an <code><a |
| 97 |
|
href="#rt">rt</a></code> element. |
| 98 |
|
#ja |
| 99 |
|
<code><a href="#ruby">ruby</a></code> 要素の子供として、 <code><a |
| 100 |
|
href="#rt">rt</a></code> 要素の直前または直後に。 |
| 101 |
|
|
| 102 |
|
#en |
| 103 |
|
If the <code><a href="#rp">rp</a></code> element is immediately after |
| 104 |
|
an <code><a href="#rt">rt</a></code> element that is immediately preceded |
| 105 |
|
by another <code><a href="#rp">rp</a></code> element: a single character |
| 106 |
|
from Unicode character class Pe. |
| 107 |
|
#ja |
| 108 |
|
<code><a href="#rp">rp</a></code> 要素が別の <code><a href="#rp">rp</a></code> |
| 109 |
|
要素の直後にある <code><a href="#rt">rt</a></code> 要素の直後の場合: |
| 110 |
|
Unicode 文字クラス Pe から1文字。 |
| 111 |
|
|
| 112 |
|
#en |
| 113 |
|
Otherwise: a single character from Unicode character class Ps. |
| 114 |
|
#ja |
| 115 |
|
それ以外の場合: Unicode 文字クラス Ps から1文字。 |
| 116 |
|
|
| 117 |
|
#en |
| 118 |
|
The <code><a href="#rp">rp</a></code> element can be used to provide |
| 119 |
|
parentheses around a ruby text component of a ruby annotation, to be shown |
| 120 |
|
by user agents that don't support ruby annotations. |
| 121 |
|
#ja |
| 122 |
|
<code><a href="#rp">rp</a></code> 要素は、 |
| 123 |
|
ルビ注釈に対応していない利用者エージェントが示す、 |
| 124 |
|
ルビ注釈のルビ文部分の周囲の括弧を提供するために使うことができます。 |
| 125 |
|
|
| 126 |
|
#en |
| 127 |
|
An <code><a href="#rp">rp</a></code> element that is a child of a |
| 128 |
|
<code><a href="#ruby">ruby</a></code> element represents nothing and it |
| 129 |
|
and its contents must be ignored. An <code><a href="#rp">rp</a></code> |
| 130 |
|
element whose parent element is not a <code><a |
| 131 |
|
href="#ruby">ruby</a></code> element represents the same thing as its |
| 132 |
|
children. |
| 133 |
|
#ja |
| 134 |
|
<code><a href="#ruby">ruby</a></code> 要素の子供である |
| 135 |
|
<code><a href="#rp">rp</a></code> 要素は、何も表さず、 |
| 136 |
|
その要素と内容は無視されなければ[[MUST:なりません]]。親要素が <code><a |
| 137 |
|
href="#ruby">ruby</a></code> 要素でない <code><a href="#rp">rp</a></code> |
| 138 |
|
要素は、その子供と同じものを表します。 |
| 139 |
|
|
| 140 |
|
#en |
| 141 |
|
The example above, in which each ideograph in the text <span |
| 142 |
|
lang=ja>斎藤信男</span> is annotated with its |
| 143 |
|
reading, could be expanded to use <code><a href="#rp">rp</a></code> so |
| 144 |
|
that in legacy user agentthe readings are in parentheses: |
| 145 |
|
#ja |
| 146 |
|
先の<span |
| 147 |
|
lang=ja>斎藤信男</span>という語中の漢字が読みと関連付けられている例では、 |
| 148 |
|
遺物利用者エージェントが読みを括弧中に示すように、更に |
| 149 |
|
<code><a href="#rp">rp</a></code> も使うことができます。 |
| 150 |
|
|
| 151 |
|
#en |
| 152 |
|
In conforming user agents the rendering would be as above, but in user |
| 153 |
|
agents that do not support ruby, the rendering would be: |
| 154 |
|
#ja |
| 155 |
|
適合容赦エージェントでのレンダリングは先のようになりますが、 |
| 156 |
|
ルビに対応していない利用者エージェントでは、 |
| 157 |
|
レンダリングは次のようになります。 |
| 158 |
|
|
| 159 |
|
#pattern |
| 160 |
|
<span class=secno>* </span>Usage summary |
| 161 |
|
#ja |
| 162 |
|
<span class=secno>$1 </span>利用法のまとめ |
| 163 |
|
|
| 164 |
|
#pattern |
| 165 |
|
<span class=secno>* </span>Footnotes |
| 166 |
|
#ja |
| 167 |
|
<span class=secno>$1 </span>脚注 |
| 168 |
|
|
| 169 |
|
#en |
| 170 |
|
HTML does not have a dedicated mechanism for marking up footnotes. Here |
| 171 |
|
are the recommended alternatives. |
| 172 |
|
#ja |
| 173 |
|
HTML は脚注をマーク付けするための専用の仕組みを持っていません。 |
| 174 |
|
ここでは、[[RECOMMENDED:推奨]]される代替法を紹介します。 |
| 175 |
|
|
| 176 |
|
#en |
| 177 |
|
For short inline annotations, the <code title=attr-title><a |
| 178 |
|
href="#title">title</a></code> attribute should be used. |
| 179 |
|
#ja |
| 180 |
|
短い行内注釈については、 <code title=attr-title><a |
| 181 |
|
href="#title">title</a></code> 属性を使う[[SHOULD:べきです]]。 |
| 182 |
|
|
| 183 |
|
#en |
| 184 |
|
In this example, two parts of a dialog are annotated. |
| 185 |
|
#ja |
| 186 |
|
次の例では、対話の2つの部分に注釈が付されています。 |
| 187 |
|
|
| 188 |
|
#en |
| 189 |
|
For longer annotations, the <code><a href="#a">a</a></code> element |
| 190 |
|
should be used, pointing to an element later in the document. The |
| 191 |
|
convention is that the contents of the link be a number in square |
| 192 |
|
brackets. |
| 193 |
|
#ja |
| 194 |
|
より長い注釈については、 <code><a href="#a">a</a></code> |
| 195 |
|
を使って、文書の後の要素を指すようにする[[SHOULD:べきです]]。 |
| 196 |
|
慣習的にはリンクの内容は数字を四角括弧で括ったものです。 |
| 197 |
|
|
| 198 |
|
#en |
| 199 |
|
In this example, a footnote in the dialog links to a paragraph below |
| 200 |
|
the dialog. The paragraph then reciprocally links back to the dialog, |
| 201 |
|
allowing the user to return to the location of the footnote. |
| 202 |
|
#ja |
| 203 |
|
次の例では、対話中の脚注が対話の後の段落へのリンクとなっています。 |
| 204 |
|
その段落の方は逆に対話へ逆リンクしており、 |
| 205 |
|
利用者が脚注の場所へ返れるようになっています。 |
| 206 |
|
|
| 207 |
|
#en |
| 208 |
|
For side notes, longer annotations that apply to entire sections of the |
| 209 |
|
text rather than just specific words or sentences, the <code><a |
| 210 |
|
href="#aside">aside</a></code> element should be used. |
| 211 |
|
#ja |
| 212 |
|
傍注 (文章中の特定の語や文に対してだけではなく、節全体に適用される、 |
| 213 |
|
より長い注釈) には、 <code><a |
| 214 |
|
href="#aside">aside</a></code> 要素を使う[[SHOULD:べきです]]。 |
| 215 |
|
|
| 216 |
|
#en |
| 217 |
|
In this example, a sidebar is given after a dialog, giving some context |
| 218 |
|
to the dialog. |
| 219 |
|
#ja |
| 220 |
|
次の例では、対話の後に傍注があり、対話の背景を説明しています。 |
| 221 |
|
|