Quote:
Originally Posted by outlandos
Hehe you see, I didn't change any settings or options, yet the hyphenation in Dutch is broken.
I would very much like to know how to disable it and do it manually, as long as that doesn't mean I have to check each page of a book myself.
|
Ok, let’s do that. Here are the steps :
0. Remove the book via the kobo device.
1. install the Hyphenate this plugin inside calibre, then, install the dutch hyphenation dictionary from openoffice into it.
2. create a file named kobo_extra.css with this code 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 will force kobo to hyphen only on the hyphens 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 your device. You will have to 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. Be sure that the adding hyphen option is unchecked. Save. Calibre ask for a reboot, do it.
7. Send the book on your device, and eject the kobo
8. open the book, it should be correctly hyphenated.