Quote:
Originally Posted by jackie_w
Code:
-webkit-hyphenate-limit-after: 3;
-webkit-hyphenate-limit-before: 3;
I don't use this file myself but the hyphenation.css file in the official KoboTouchExtended driver uses
Code:
-webkit-hyphenate-after: 3;
-webkit-hyphenate-before: 3;
which looks like an error to me. You could correct your own copy. You could also use kobo_extra.css to add these CSS styles.
|
You should be right, in this page
https://friendsofepub.github.io/eBookTricks/ is documented in the way as you told. I was curious and found that the
kepubify source code has the same error.
Quote:
Originally Posted by jackie_w
Even so, kepub hyphenation has never seemed quite as good as epub hyphenation. It sometimes seems that they include punctuation in the character counts. e.g. if you do use -webkit-hyphenate-limit-after: 3 you might still see something like
Code:
He likes to use punctuati-
on.
|
This is happening in my book, the one char was followed by a point.
In the other thread, someone mentioned that in the metadata given language code determines which dictionary will be used for hyphenation. I am defining the language in the body element. I don't know which is correct I will use both for be on the safe side.
I will try the
hyphenate-limit-chars: 6 3 2;
-webkit-hyphenate-limit-lines: 2;
hyphenate-limit-lines: 2;
Quote from Blitz
"to improve hyphenation. You can indeed set the minimum number of letters a word must contain to be hyphenated, and the minimum number of letters which should be before and after the hyphen.
Finally, you can control the maximum number of consecutive lines for which hyphenation must happen. As Bringhurst advised, “avoid more than three consecutive hyphenated lines.”"