View Single Post
Old 12-27-2014, 10:07 AM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,744
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by verydeepwater View Post
The original was in Microsoft Word, with the pinyin above the corresponding character - formatted in Microsoft Chinese proofing tools, which I don't have installed. As I mentioned, by converting this with Calibre, you can get an html file with each character marked by a span tag.
Have you tried to export the Chinese Word file as a "filtered Web Page" with Word? This might create an .html file with ruby tags. If it doesn't generate ruby tags, the Calibre DOCX-to-EPUB converter won't generate ruby tags either.

If it does generate ruby tags, you may want to ask about this conversion issue in the Calibre Conversion forum. If Kovid Goyal considers this a bug, he might be able to fix this conversion issue for the next release.

BTW, you could simply use a regular expression search in Calibre Editor or Sigil to add the required ruby tags.

If you post a line from the original document, the same line converted by Calibre and the format that you need, either Calibre or Sigil users will post the required regular expressions.
Doitsu is offline   Reply With Quote