[Libreoffice-bugs] [Bug 116822] Text with Asian Phonetic Guide(Ruby) filtered out in EPUB format
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 16 13:51:34 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116822
--- Comment #1 from Mark Hung <marklh9 at gmail.com> ---
"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]http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415250_253892949
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180416/9b694e36/attachment.html>
More information about the Libreoffice-bugs
mailing list