10-31-2013, 05:06 PM | #1 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Automatic hyphenation in epubs?
Hello I am completely newbie to Kobo world and while playing about this bug (1st post & 2nd post) I've just noticed that within epub renderer (but not in kepub renderer), I'm getting automatic hyphenation.
I'm not mad, am I? Is it possible to disable this "intelligent" (and, of course, not asked for) "feature" in any way? Sorry if this issue has been asked before, but I hasn't been able to find anything about it? (Just info about improved hyphenation dictionaries) |
10-31-2013, 06:24 PM | #2 |
Wizard
Posts: 2,454
Karma: 5469320
Join Date: Jul 2010
Device: Kobo
|
You might want to wait for better suggestions in case this causes you to have to factory reset, but maybe try making a backup of the hyphenation dictionary then deleting it (back it up in case this doesn't work). Alternatively if you put a "dummy" empty hyphenation dictionary in might also work. There are no stock functions for turning hyphenation on/off.
|
11-01-2013, 05:42 PM | #3 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Where is that hyphenation dictionary located? Is it the same as the normal dictionary? More over. Calibre KoboTouchExtended driver has an option for hyphenating or not but in kepubs. Do you know why kepubs are not hyphenated by default but epubs are? |
|
11-01-2013, 06:10 PM | #4 | |
Avid reader of sci-fi
Posts: 384
Karma: 36724
Join Date: Sep 2011
Location: Scotland
Device: Kobo Touch, Lenovo X61, Samsung Galaxy Note with Aldiko reader app
|
Quote:
I also seem to recall that converting the books to kepub.epub worked (I think it forces use of the kepub engine), but I've never tried that. |
|
11-02-2013, 04:48 AM | #5 | |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
I haven't yet spent a lot of time with the Aura HD but I haven't seen a single hyphen in either official kepubs (I have some English ebooks which I have quickly browsed through) or "kepubized" epubs through KoboTouchExtended Calibre driver (where there's an explicit option to enable hyphens if you prefer). I hate hyphens but I'm currently reading a Spanish book and because of the bug with dashes (you can go to the Bug Thread through the links in my first post), I still prefer epub renderer... but by a really small margin over kepub when I consider pros and cons of both options:
|
|
11-02-2013, 10:48 AM | #6 | |
Avid reader of sci-fi
Posts: 384
Karma: 36724
Join Date: Sep 2011
Location: Scotland
Device: Kobo Touch, Lenovo X61, Samsung Galaxy Note with Aldiko reader app
|
Quote:
|
|
11-02-2013, 11:10 AM | #7 |
Avid reader of sci-fi
Posts: 384
Karma: 36724
Join Date: Sep 2011
Location: Scotland
Device: Kobo Touch, Lenovo X61, Samsung Galaxy Note with Aldiko reader app
|
Whilst this isn't what I did, Google found me this https://github.com/jgoguen/calibre-kobo-driver - what seems to be the latest Kobo driver for Calibre. Scrolling some way down the page shows a way to improve the hyphenation dictionary by using the OpenOffice version.
|
11-02-2013, 08:25 PM | #8 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Have you tried changing the reading to not be justified? I use left as I don't think the automatic renderers get the spacing correct and this reduces the number of split words.
The other thing is that there is a CSS option for hyphenation. But, I don't know the epub reader respects it. I feel like there has been discussion of it here, but I'm not sure. |
11-03-2013, 04:22 AM | #9 | ||
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Quote:
Quote:
I've searched a bit and CSS3 has hyphens property: Here you have an example link to its explanation. I'll test ASAP if it works within epubs (I'm not currently at home). Epubs are CSS2 but I feel that there won't probably be any trouble adding some kind of CSS3 properties... More over I'm reading this thread Loading a custom CSS on kepub opening where there's a lot of interesting info. And also about your driver for Calibre and how it can automatically add CSS styles to the uploaded epubs. I feel I'm on the right track. And more over I also have a feeling that the white-space:nowrap; issue is also going to be fixed when hyphenation is disabled (I mean I feel that epub render is considering dashes as wraping points because hyphenation is active, even with greater priority than the span style setting). I'll post my conclusions ASAP. Last edited by arspr; 11-03-2013 at 09:39 AM. |
||
11-04-2013, 05:12 PM | #10 |
Dead account. Bye
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
|
Got it. Thanks to this thread More Hyphenation After 1.2 Update? In epub renderer (RMSDK), the hyphenation is controlled through adobe-hyphenate property. So, if you add/modify the CSS inside the ebook with: Code:
body { adobe-hyphenate: none; } Nevertheless, the "bug" with white-span: nowrap is still active. I sadly made a bad guess... (I'll continue investigating but in the Bug Thread). I want to thank every one of you (davidfor, Peakcrew and robko) for the hints you've given me. PD. hyphens, -webkit-hyphens, or even -adobe-hyphenate or other similar properties DON'T seem to work in RMSDK. The correct one is just adobe-hyphenate. PDD. The full options for adobe-hyphenate seem to be: none | explicit | auto (see this post) but the author doesn't explicit what each of them does. I suppose explicit only breaks words on shy;* but I haven't tested. |
11-04-2013, 06:45 PM | #11 | |
Avid reader of sci-fi
Posts: 384
Karma: 36724
Join Date: Sep 2011
Location: Scotland
Device: Kobo Touch, Lenovo X61, Samsung Galaxy Note with Aldiko reader app
|
Quote:
|
|
11-04-2013, 11:15 PM | #12 |
Guru
Posts: 766
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Does anyone know if I can add "adobe-hyphenate: none;" to the kobo_extra.css file to kill hyphenation? I use kobo_extra.css to kill widows and orphans, and it works like a charm. I'd love to get rid of hyphens too.
[QUOTE=arspr;2676227] Got it. Thanks to this thread More Hyphenation After 1.2 Update? In epub renderer (RMSDK), the hyphenation is controlled through adobe-hyphenate property. So, if you add/modify the CSS inside the ebook with: Code:
body { adobe-hyphenate: none; } QUOTE] |
11-05-2013, 12:25 AM | #13 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
11-05-2013, 10:31 AM | #14 |
Guru
Posts: 766
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
|
11-17-2013, 01:15 PM | #15 |
Wizard
Posts: 1,494
Karma: 11250344
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Forma, Kindle Oasis 2, Sony PRS-T2
|
Thanks for the info! Now I'll know how to kill it when I want to proofread something.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenation | Siard | Kobo Reader | 6 | 08-09-2013 07:40 AM |
Automatic Convert and Automatic Add not working together | kylliancole | Calibre | 3 | 08-03-2012 11:57 PM |
Hyphenation - again.. | ItsMee | Conversion | 2 | 07-31-2012 03:00 PM |
Touch Problem with all epubs, my epubs, or my kobo? (line clipping) | plague006 | Kobo Reader | 14 | 12-02-2011 11:32 PM |
PRS-300 No automatic hyphenation? | robert_epub | Sony Reader | 5 | 03-23-2010 09:06 AM |