View Single Post
Old 03-23-2025, 08:52 AM   #1
npr
Zealot
npr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five wordsnpr can name that ebook in five words
 
Posts: 116
Karma: 37418
Join Date: Jan 2013
Device: H2OE2, Libra 2
Issues I'm having with Calibre 8.0.1

I'm having the following teething problems with Calibre 8.0.1, Are these issues or have I got it wrong?

1) The following is added to every htm file whether hypenation is enabled or not in the driver.
I assume this is enabling hyphenation in the book even though I don't want this.

Spoiler:
<style type="text/css" id="kobostylehacks">div#book-inner { margin-top: 0; margin-bottom: 0; }


* {
/* Vendor-prefixed CSS properties for hyphenation. Keep -webkit first since
* some user agents also recognize -webkit properties and will apply them.
*/
-webkit-hyphens: auto;
-webkit-hyphenate-limit-after: 3;
-webkit-hyphenate-limit-before: 2;
-webkit-hyphenate-limit-chars: 6 2 3;
-webkit-hyphenate-limit-lines: 3;

/* CSS4 standard properties for hyphenation. If a property isn't represented
* in the standard, don't put a vendor-prefixed property for it above.
*/
hyphens: auto;
hyphenate-limit-chars: 6 2 3;
hyphenate-limit-lines: 3;
hyphenate-limit-last: page;
}

h1, h2, h3, h4, h5, h6, td {
-webkit-hyphens: none !important;
hyphens: none !important;
}
</style>
<script type="text/javascript" src="../kobo.js"/>


Update:
Need to also disable hyphenation in Preferences > Output options > Kepub output > remove tick Enable / disable hyphenation for this book.
Should the settings in the driver automatically change this setting?

2) Modify CSS model specific is not working. The css rules I've entered against a Libra 2 are not being transferred to my kobo Libra2. Note, Kobo Utilities appears to be identifying the Libra2 correctly.

3) epub book sent to the ereader as kepubs are also being saved in the library as kepub.

Last edited by npr; 03-23-2025 at 09:27 AM.
npr is offline   Reply With Quote