Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 12-07-2012, 06:18 AM   #1
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
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?
Aerys is offline   Reply With Quote
Old 12-07-2012, 07:49 AM   #2
Doitsu
Wizard
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: 2,131
Karma: 4938208
Join Date: Dec 2010
Device: Kindle PW2
KindleGen 2.7x supports the <ruby> tag in KF8 files.
Doitsu is offline   Reply With Quote
Old 12-09-2012, 10:54 PM   #3
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	screenie.jpg
Views:	75
Size:	169.9 KB
ID:	97493  
Aerys is offline   Reply With Quote
Old 12-10-2012, 12:22 AM   #4
Doitsu
Wizard
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: 2,131
Karma: 4938208
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:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>

<style type="text/css">
body {font-size: 130% }
</style>
</head>

<body>
<h3>Simple Ruby test</h3>

<p><ruby><rb>東</rb><rp>(</rp><rt>とう</rt><rp>)</rp> <rb>京</rb><rp>(</rp><rt>きょう</rt><rp>)</rp></ruby></p>
</body>
</html>


BTW, what kind of CSS did you use to format the vertical Ruby text?
Attached Thumbnails
Click image for larger version

Name:	screenshot.JPG
Views:	62
Size:	22.9 KB
ID:	97496  
Doitsu is offline   Reply With Quote
Old 12-10-2012, 01:19 AM   #5
Aerys
Connoisseur
Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.Aerys is faster than slow light.
 
Aerys's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	screenie2.jpg
Views:	60
Size:	162.5 KB
ID:	97497  
Aerys is offline   Reply With Quote
Old 03-28-2013, 03:45 AM   #6
totsubo
Member
totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.totsubo ought to be getting tired of karma fortunes by now.
 
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:
Support for Chinese, Japanese, and Korean Text
The Kindle family of devices has limited support for Chinese, Japanese, and Korean text. The Kindle
Readers for e Ink devices and applications can render horizontal left to right Chinese, Japanese, and
Korean text. They have limited font support for the CJK characters. There is no support for right to left
vertical scripts and no support for Japanese Ruby script.
This might explain what you're seeing in the Previewer.
totsubo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding an Owner tag to tag list? Fangles Library Management 1 02-25-2011 03:32 AM
Unutterably Silly The alternative alternative Friday Question 21 August 2009 Wetdogeared Lounge 13 08-26-2009 10:47 AM
iLiad Ruby 1.8.5 for iLiad -Thomas- iRex Developer's Corner 17 02-16-2009 08:13 AM
iLiad dancing Ruby on Iliad dzw! iRex Developer's Corner 8 08-29-2008 07:37 PM
Free Ruby programming e-book TadW Deals, Freebies, and Resources (No Self-Promotion) 2 01-13-2007 02:50 AM


All times are GMT -4. The time now is 06:45 AM.


MobileRead.com is a privately owned, operated and funded community.