04-04-2012, 08:42 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: iRex DR-1000, Bookeen Odyssey
|
Hyphenation
I am new to the epub format. After converting a file to epub, I wasn't OK with some of the design changes that the program made. So, I went directly into the file (via unzip) and made most of the changes happen.
What I am not getting is how to activate or deactivate hyphenation through the whole epub document. Is there a specific CSS command that I can use? |
04-05-2012, 02:03 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Whether or not hyphenation works, greatly depends on the reader. Newer generations can do it, older cannot. It is possible to turn it off for readers that do support hyphenation, notably iBooks. That can be done by adding -webkit-hyphens: off.
This is not a really part of the specs. |
Advert | |
|
04-05-2012, 05:57 AM | #3 |
frumious Bandersnatch
Posts: 7,534
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
In CSS3 (and ePub 3, I guess), it would be "hyphens: none". In ADE I believe it's "adobe-hyphenate: none"
My advice is to only deactivate it for certain things like titles. Leave the hyphenation for the main text unspecified, so the reader can choose whether or not he wants hyphens (if the device allows that). |
04-05-2012, 11:48 AM | #4 |
Junior Member
Posts: 8
Karma: 10
Join Date: Dec 2011
Device: iRex DR-1000, Bookeen Odyssey
|
Thanks guys. I also tried word-wrap: break-word;
Somehow I had the impression that my reader deactivated hyphenations by default, but I think I was mistaken. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hyphenation - again.. | ItsMee | Conversion | 2 | 07-31-2012 03:00 PM |
hyphenation with PRS | prsita | Sony Reader | 1 | 06-27-2011 03:45 AM |
Hyphenation | Mixx | Calibre | 4 | 11-17-2010 10:01 AM |
hyphenation | CPatrick | OpenInkpot | 3 | 03-22-2010 06:06 AM |
Mobi Hyphenation | brewt | Kindle Formats | 3 | 07-06-2008 10:20 AM |