Created attachment 141127 [details]
Sample file with ruby text
1. Open the attached file.
2. Export as EPUB
3. Open the file in the reader, the content is filtered.
Text with Asian phonetic guide ( ruby text ) is filtered. Neither base text nor ruby text appears.
"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." .
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:
...... ( 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.
EPUB3 samples that contains ruby
ruby annotation, HTML: The Markup Language (an HTML language reference)
Arch Linux 64-bit
Build ID: c8c74a0b4ca6f3a3619f423b6548c80c52392ae0
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: kde4;
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on April 15th 2018
Mark Hung committed a patch related to this issue.
It has been pushed to "master":
tdf#116822 export ruby text and base text to epub.
It will be available in 6.1.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Created attachment 142335 [details]
Solved in 188.8.131.52-beta1