Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 03-05-2013, 06:10 PM   #1
mike2046
Member
mike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it ismike2046 knows what time it is
 
Posts: 15
Karma: 2006
Join Date: Mar 2012
Location: UK
Device: Kindle
Post Creating Japanese epub3 and kindle books from aozora bunko texts

Hi,

I recently came across a bit of software AozoraEpub3 which can convert Aozora .txt files into epub3 format files. See the following link for more information

http://blog.preining.info/2013/01/10...nts-to-kindle/

it can produce either vertical and horizontal format files, depending on settings, and can also be set to exclude images. It also seems to handle ruby text when present. As the interface is in Japanese, the above link is useful for explaining how to use it - although as icons are used a lot some functions can be guessed at. Once an epub3 format file is produced, this can be run through kindlegen to produce a version for a Kindle.

Using this I have been able to produce vertical text books for my Kindle White. These also include the ruby text. Pages turn from right to left as expected when going "forward" through the book.

The other bonus of this is that by looking at the contents of the epub file one gains an idea of how to create a vertical text format book - which can be applied to one's own material.
mike2046 is offline   Reply With Quote
Old 04-22-2013, 12:21 AM   #2
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
K3.4 rendering

Quite interesting. Just to report my findings on the Kindle Keyboard with firmware 3.4

Ruby works fine! Top to bottom, Right to Left not too good.

Following are (correct) Calibre vs (incorrect) Kindle rendering comparison

First page:
Click image for larger version

Name:	FirstPageCalibre.jpg
Views:	1443
Size:	94.1 KB
ID:	104763Click image for larger version

Name:	FirstPageK3Screenshot.gif
Views:	1280
Size:	17.4 KB
ID:	104764

Last page:
Click image for larger version

Name:	LastPageCalibre.jpg
Views:	1234
Size:	100.7 KB
ID:	104765Click image for larger version

Name:	LastPageK3Screenshot.gif
Views:	1122
Size:	36.6 KB
ID:	104766

...IMHO

Last edited by PoP; 04-22-2013 at 12:46 AM.
PoP is offline   Reply With Quote
Advert
Old 04-22-2013, 06:45 AM   #3
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
I looked into displaying vertical text some time ago and stumbled upon Ryan Stenhouse's website.
Stenhouse came up with an ingenious way to approximate vertically rendered Japanese text that works even on a K3.
Attached Thumbnails
Click image for larger version

Name:	HackyVertical.JPG
Views:	1150
Size:	40.7 KB
ID:	104771  
Attached Files
File Type: mobi jatest.mobi (29.1 KB, 631 views)
Doitsu is offline   Reply With Quote
Old 04-22-2013, 08:21 AM   #4
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,008
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Good hack to know.

Previously I achieved a similar style in the Vulcan guide accompanying my NADSAT dictionary here, by using -webkit-transform:rotate(90deg); and a font with -90deg sideways glyphs.
Click image for larger version

Name:	end1 screen_shot-51399.gif
Views:	931
Size:	9.3 KB
ID:	104774
PoP is offline   Reply With Quote
Old 04-22-2013, 09:17 AM   #5
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by PoP View Post
Previously I achieved a similar style in the Vulcan guide accompanying my NADSAT dictionary here, by using -webkit-transform:rotate(90deg); and a font with -90deg sideways glyphs.
Also good to know.

IIRC, the official Amazon style guide doesn't mention that KF8 supports CSS3 2D Transforms in general and -webkit extensions in particular.
Doitsu is offline   Reply With Quote
Advert
Old 06-20-2015, 04:03 AM   #6
13xforever
Connoisseur
13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.13xforever ought to be getting tired of karma fortunes by now.
 
13xforever's Avatar
 
Posts: 60
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
Guys, I might be necroposting, but I just wanted to say thank you, like a million times. You saved me a lot of time with this thread.
13xforever is offline   Reply With Quote
Old 01-06-2020, 11:12 AM   #7
99nyorituryo
Junior Member
99nyorituryo began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2018
Location: Japan
Device: kindle paperwhite
I'm not the developer of AozoraEpub 3. I modified AozoraEpub 3.
It's interesting to see AozoraEpub 3 users overseas.

https://github.com/kyukyunyorituryo/AozoraEpub3
99nyorituryo is offline   Reply With Quote
Old 01-07-2020, 09:59 AM   #8
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,388
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Use epub2 for ebooks, HTML for interactive / more advance. The epub3 is an almost pointless spec for ereaders, you need an app on a tablet, in which case HTML etc is a better more portable solution!

If what you want doesn't work on ePub2, then use HTML.
Quoth is offline   Reply With Quote
Old 01-07-2020, 10:31 AM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,533
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by FrustratedReader View Post
Use epub2 for ebooks, HTML for interactive / more advance. The epub3 is an almost pointless spec for ereaders, you need an app on a tablet, in which case HTML etc is a better more portable solution!

If what you want doesn't work on ePub2, then use HTML.
This is for a Kindle using KF8. KF8 does support vertical text.
JSWolf is online now   Reply With Quote
Old 01-07-2020, 11:57 AM   #10
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,228
Karma: 19001261
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by FrustratedReader View Post
Use epub2 for ebooks, HTML for interactive / more advance. The epub3 is an almost pointless spec for ereaders, you need an app on a tablet, in which case HTML etc is a better more portable solution!

If what you want doesn't work on ePub2, then use HTML.
I'm confused... ePub2 and ePub3 both use HTML... ePub3 simply allows some of the multimedia features, etc.
Turtle91 is offline   Reply With Quote
Old 01-07-2020, 03:31 PM   #11
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,762
Karma: 86500093
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by FrustratedReader View Post
If what you want doesn't work on ePub2, then use HTML.
Ruby is an important part of Japanese text. EPUB 2 does not support ruby, at least according to EPUBCHECK.
jhowell is offline   Reply With Quote
Old 01-07-2020, 03:35 PM   #12
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,533
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jhowell View Post
Ruby is an important part of Japanese text. EPUB 2 does not support ruby, at least according to EPUBCHECK.
ePub2 does not support vertical text.
JSWolf is online now   Reply With Quote
Old 01-07-2020, 04:09 PM   #13
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,388
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
The ePub2 uses a subset of the HTML a browser can use. Lots of HTML that works in a browser will not work in an eink Kindle (even PW3) or eink ePub based ereader.

I blame the Western Roman/Latin centric nature of the design of the original mobi and epub.

Some ereaders still in use can't do Hebrew, Arabic, Korean, Cyrillic, Horizontal Japanese, Horizontal Chinese and most other writing systems, basically only Roman-Latin and some Greek (really for maths & science, not Greek language). Linux supported all these before the first Amazon Kindle came out, which used Linux.

Hardly anything other than a few apps support epub3. Also some apps only partially support it.

So for non-mainstream western languages, it's only newer ereaders. For vertical text, an app or browser on an Android or Apple Tablet, not an eink ereader as it might not work.

Last edited by Quoth; 01-07-2020 at 04:11 PM.
Quoth is offline   Reply With Quote
Old 01-07-2020, 04:13 PM   #14
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,533
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by FrustratedReader View Post
The ePub2 uses a subset of the HTML a browser can use. Lots of HTML that works in a browser will not work in an eink Kindle (even PW3) or eink ePub based ereader.

I blame the Western Roman/Latin centric nature of the design of the original mobi and epub.

Some ereaders still in use can't do Hebrew, Arabic, Korean, Cyrillic, Horizontal Japanese, Horizontal Chinese and most other writing systems, basically only Roman-Latin and some Greek (really for maths & science, not Greek language). Linux supported all these before the first Amazon Kindle came out, which used Linux.

Hardly anything other than a few apps support epub3. Also some apps only partially support it.

So for non-mainstream western languages, it's only newer ereaders. For vertical text, an app or browser on an Android or Apple Tablet, not an eink ereader as it might not work.
For non-mainstream Readers, it's just a matter of embedding a proper font for some languages. And if you want text to read from left-to-right, just reverse the letters. It can be done even if it is a kludge.
JSWolf is online now   Reply With Quote
Old 01-07-2020, 05:26 PM   #15
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,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
And if you want text to read from left-to-right, just reverse the letters. It can be done even if it is a kludge.
That method would only work for RTL languages such as Hebrew that don't have different letter forms for initial, medial, final and isolated letters. (In Hebrew, five letters actually have different final forms that would need to be hard-coded.)
Doitsu is offline   Reply With Quote
Reply

Tags
aozora, epub3, japanese, kindle


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Fixed Layout ePub3 from InDesign flipick ePub 12 03-14-2013 10:22 AM
Reader for Japanese (epub3 ?) dodai Which one should I buy? 9 06-14-2012 09:55 AM
'Grey texts' and 'Typos' in Kindle ebooks fyrogenesis Amazon Kindle 3 02-01-2011 12:41 PM
Creating Bible e-books for the Kindle iMav Workshop 13 07-08-2008 05:15 PM
Japanese Books sithkittie Sony Reader 7 03-13-2008 02:03 AM


All times are GMT -4. The time now is 01:01 PM.


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