12-07-2012, 05:18 AM | #1 |
Connoisseur
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
|
Alternative to <ruby> tag
Anyone know how to make a "facsimile" of what the <ruby> tag can display in MOBI?
|
12-07-2012, 06:49 AM | #2 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
KindleGen 2.7x supports the <ruby> tag in KF8 files.
|
Advert | |
|
12-09-2012, 09:54 PM | #3 |
Connoisseur
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
|
I don't know if it's just a bug but using the <ruby> tag makes the "ruby base" character invisible for "Kindle Paperwhite" mode for the Kindle Previewer 2.71 which is why I'm looking for an alternative.
No problem with the display of the <ruby> for Kindle Fire but unfortunately I need it for "Kindle Paperwhite" since it's the only one to support Japanese "vertical" writing at the moment. Here's a screenie of the output display of the <ruby> tag (in red) for KindleFire vs KindlePaperwhite. |
12-09-2012, 11:22 PM | #4 |
Grand Sorcerer
Posts: 5,582
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Kindle Previewer is notoriously unreliable when it comes to displaying complex non-Latin text. You may want to test your Japanese book on an actual Kindle, because even my old K3 displays horizontal Ruby text fine in spite of KP saying it doesn't.
IMHO, it's safe to assume that all current eInk Kindle models (i.e., K3 and higher) support at least horizontal Ruby text. Spoiler:
BTW, what kind of CSS did you use to format the vertical Ruby text? |
12-10-2012, 12:19 AM | #5 |
Connoisseur
Posts: 51
Karma: 29994
Join Date: Nov 2011
Location: Manila, Philippines
Device: iPad 2 & Nexus 7
|
@Doitsu,
Thanks a lot. I finally found the problem with the <ruby> tag at my end. The embedded Japanese font I had was causing the characters inside the ruby tag not to be displayed. I might need to dig further why it happened since it only shows up on "vertical" writing mode or you might be correct that it might be an issue with KindlePreviewer. I'm using ePub3 code "-epub-writing-mode: vertical-rl;" in the CSS of the BODY tag to display the whole page in "vertical right to left". It works for "Kindle Paperwhite", ADE 2.+, and iBooks 3. I haven't gotten to testing it on the Nook or Kobo if it works on them too. |
Advert | |
|
03-28-2013, 02:45 AM | #6 | |
Member
Posts: 22
Karma: 475242
Join Date: Nov 2012
Device: Kindle Paperwhite
|
I was looking at how to include furigana (ruby) in my book for the Paperwhite and just noticed this in the official Amazon Kindle Publishing Guidelines:
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding an Owner tag to tag list? | Fangles | Library Management | 1 | 02-25-2011 02:32 AM |
Unutterably Silly The alternative alternative Friday Question 21 August 2009 | Wetdogeared | Lounge | 13 | 08-26-2009 09:47 AM |
iLiad Ruby 1.8.5 for iLiad | -Thomas- | iRex Developer's Corner | 17 | 02-16-2009 07:13 AM |
iLiad dancing Ruby on Iliad | dzw! | iRex Developer's Corner | 8 | 08-29-2008 06:37 PM |
Free Ruby programming e-book | TadW | Deals and Resources (No Self-Promotion or Affiliate Links) | 2 | 01-13-2007 01:50 AM |