View Single Post
Old 06-21-2024, 02:05 PM   #35
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,595
Karma: 240526511
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by rcentros View Post
I haven't got a clue how to do this. Even though I used the eBook editor in Calibre, so far I can't find any reference to hyphenation in the book's two css files. I'm guessing the "hyphenation: none;" command has to be inserted somewhere, but I don't know where to insert it.
Not all ebooks have hyphenation specified in the css, in which case I guess there's some default hyphenation setting the Kobo will use.

The way I do it is as follows:
First, I convert an epub to epub to bulk remove all existing hyphenation rules, if any (I usually do this with several ebooks at once). In the conversion settings (Look & Feel - Styling - Other css properties) I add
-epub-hyphens, -webkit-hyphens, -moz-hyphens, adobe-hyphenate, hyphens

After that, I use the Modify Epub plugin (Append Extra css) to bulk insert the following code in all those converted epubs:
Code:
body {
-epub-hyphens: none;
adobe-hyphenate: none;
-webkit-hyphens: none;
-moz-hyphens: none;
hyphens: none;
}
Sirtel is online now   Reply With Quote