martindholmes / rubyForTEI

Temporary workspace for fleshing out proposal for Ruby in TEI.
Apache License 2.0
2 stars 1 forks source link

example for multi-lingual ruby #8

Open duncdrum opened 3 years ago

duncdrum commented 3 years ago

as per request

some fun multi-lingual examples in Images/Cing_wen_ki_meng_bithe_[...]_btv1b90028080_16.jpeg

<ruby>
  <rb xml:lang="mnc"/>
  <rt xml:lang="lzh"/>
</ruby>

see 1c8964643644a6a27a6633146e4f29dd23c27dc8

knagasaki commented 3 years ago

as per request

some fun multi-lingual examples in Images/Cing_wen_ki_meng_bithe_[...]_btv1b90028080_16.jpeg

<ruby>
  <rb xml:lang="mnc"/>
  <rt xml:lang="lzh"/>
</ruby>

see 1c89646

In most of cases, the xml:lang will be inherited from the parent element like below:

<p xml:lang="mnc">manchu text is 
  <ruby>
   <rb>here<rb>
   <rt xml:lang="lzh">Chinese pronunciation</rt>
  </ruby>.
 manchu text is here</p> 

If the example you put above will be shown in the Guidelines, it might be misleading.