![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 475242
Join Date: Nov 2012
Device: Kindle Paperwhite
|
How to code furigana (ruby) for mobi / Paperwhite
I'm writing a Japanese book and am wondering how to add furigana (ruby) for the Kindle Paperwhite?
I know it can be done because I have some Japanese book with furigana. However I read the Amazon Kindle Publishing Guidelines clearly say it is not possible: "There is no support for right to left vertical scripts and no support for Japanese Ruby script." (p. 11) The guidelines are obviously wrong but I couldn't find anything in the mobi documentation either about furigana/ruby support. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
I don't know anything about furigana, but I do know that you have to be careful about the way you interpret the KPG. The KF8 devices use a custom version of webkit to render HTML and CSS. If you assume a slightly older version of webkit without javascript, you will have a decent idea of what you can do.
I would start with the assumption that if furigana was supported by webkit and you can embed a font with the proper support, it will work. You would have to use the @media {amzn-mobi} to control what happens with the downlevel version of your book. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 475242
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Did some testing and the Paperwhite supports the <ruby>, <rb>, and <rp> tags. Looks like the KPG is wrong.
Using the Previewer though it looks like the Kindle and Kindle DX don't support ruby, and neither does the Kindle for iOS (though Kindle for iPad does). |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36
Karma: 8164
Join Date: Jul 2012
Device: Kindle Keyboard
|
If it works for the Paperwhite, it almost certainly works for the Kindle 3, 4, and 5. The previewer is just totally broken for those devices. The previewer shows you the old mobi format for all eink devices except the Paperwhite even though all of them except the first and second generation devices should have been upgraded to use the KF8 format.
All of the Kindle eink devices that accept the KF8 format use the a customized webkit browser to render HTML/CSS. As best I can tell, they are pretty much feature compatible. For something like furigana, you will definitely have to test on actual devices. |
![]() |
![]() |
![]() |
#5 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 475242
Join Date: Nov 2012
Device: Kindle Paperwhite
|
Quote:
I can't really afford to go an buy all the various Kindle versions to test on so I rely a lot on the Previewer - and I put a disclaimer on my amazon book's page that it's only guaranteed to work on the Paperwhite. I wonder what the number/percentage of Kindle users are on the Fire? It might be worth my while to invest in a Kindle Fire if it's large enough ... |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,781
Karma: 143059982
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 475242
Join Date: Nov 2012
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
![]() |
![]() |
![]() |
#9 | |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PDF to MOBI formatting source code | redhead_cz | Conversion | 2 | 02-10-2013 04:33 PM |
Help With Mobi HTML Source Code | JeremyBenson | Kindle Formats | 1 | 02-01-2013 02:59 AM |
MOBI Conversions - Kindle DX v Paperwhite | mjt57 | Library Management | 1 | 01-17-2013 07:26 AM |
Code showing in mobi (from epub) | BKh | Conversion | 4 | 07-23-2012 04:08 PM |
Error code when trying to convert a MOBI to an EPUB | Josieb1 | Conversion | 6 | 05-20-2011 03:46 PM |