<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Text with Asian Phonetic Guide(Ruby) filtered out in EPUB format"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116822#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Text with Asian Phonetic Guide(Ruby) filtered out in EPUB format"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=116822">bug 116822</a>
from <span class="vcard"><a class="email" href="mailto:marklh9@gmail.com" title="Mark Hung <marklh9@gmail.com>"> <span class="fn">Mark Hung</span></a>
</span></b>
<pre>"A ruby is additional text that is displayed above or below a base text. The
purpose of a ruby is to annotate a base text or provide information about its
pronunciation
The <text:ruby> element is usable within the following elements: <text:a>
6.1.8, <text:h> 5.1.2, <text:meta> 6.1.9, <text:meta-field> 7.5.19, <text:p>
5.1.3, <text:ruby-base> 6.4.2 and <text:span> 6.1.7." [1].
So at least text:ruby inside text:p and text:h should be implemented in
writerperfect.
A very simple snippet that illustrates ruby tag generated by Writer:
<text:p text:style-name="P1">
<text:ruby text:style-name="Ru1">
<text:ruby-base>中</text:ruby-base>
<text:ruby-text>ㄓㄨㄥ</text:ruby-text>
</text:ruby>
<text:ruby text:style-name="Ru1">
<text:ruby-base>
<text:span text:style-name="T4">文</text:span>
</text:ruby-base>
<text:ruby-text>ㄨㄣˊ</text:ruby-text>
</text:ruby>
...... ( the rest is deleted )
So it is necessary to allow ruby-base to be contain span as its child element
so that ruby text can have different character formats.
[1]<a href="http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415250_253892949">http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415250_253892949</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>