View Single Post
Old 06-19-2015, 06:23 AM   #54
outlandos
Connoisseur
outlandos doesn't litteroutlandos doesn't litter
 
outlandos's Avatar
 
Posts: 68
Karma: 152
Join Date: Jun 2015
Device: Kobo Glo HD
Quote:
Originally Posted by cramoisi View Post
Ok, let’s do that. Here the steps :

0. Remove the book via the kobo device.

1. install the Hyphenate this plugin inside calibre, then, install into it the dutch hyphenation dictionary from openoffice.
2. create a file named kobo_extra.css with this inside (I can send it to you if necessary) :

Code:
body {
adobe-hyphenate: explicit !important;
-webkit-hyphens: manual !important;
}
It will disable the automatic algorithm and force kobo to hyphen only on the hyphen we will add manually.

3. drop this file inside your KoboReader device (at the root of the card - just drop it on the listed mount device)

4. In calibre, select your book and clic the hyphenate this button, choose the format to hyphen (epub) and let the magic happens. The plugin will add soft hyphen according to the dictionary. Beware : the language for your book has to be correctly set in the calibre metadata.

5. right-clic on the book, edit book, tools menu, filter style information. In the window, enter -webkit-hyphens, adobe-hyphenate and press ok. This will remove all mention of hyphenation inside the book. Save the book.

6. In calibre, with your device plugged (it’s plugged since point 3 anyway), clic on the arrow beside the device icon on the toolbar and configure device. You will change the options of the KoboTouchExtended plugin : check «*modify CSS*». This way, when a book is sent to your device, the style contains in kobo_extra.css are applied to it.

7. Send the book on your device, and eject the kobo

8. open the book, it should be correctly hyphenated.
Thanks, ill try it when I get home. Just one question: will it still be able to be kepub formats?
outlandos is offline   Reply With Quote