Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-24-2025, 01:01 AM   #61
.tycho
Enthusiast
.tycho began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Exclamation

Hey everyone, just wondering, did hyphenation change or break in 8.0.1? I'm curious because I copied my hyphenation settings from the KTE plugin to the built-in KT plugin, and now my KEPUBs are no longer hyphenated.

I've attached my settings in Calibre's KoboTouch driver. Any thoughts? Thank you!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2025-03-23 at 11.57.01 PM.jpg
Views:	155
Size:	243.8 KB
ID:	214618  
.tycho is offline   Reply With Quote
Old 03-24-2025, 01:09 AM   #62
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,327
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
the settings insert the exact same css as the KTE driver did, open one of the files sent to the device and check for yourself.
kovidgoyal is offline   Reply With Quote
Advert
Old 03-24-2025, 01:36 AM   #63
.tycho
Enthusiast
.tycho began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
the settings insert the exact same css as the KTE driver did, open one of the files sent to the device and check for yourself.
Ok, so I must admit, I'm approaching the limits of my understanding of EPUB file structure. But I opened the KEPUB file contents, and I don't see a hyphenation.css file present. I think that's the one that contains the hyphenation settings, right?

Thank you for helping me with this!

Last edited by .tycho; 03-24-2025 at 01:42 AM.
.tycho is offline   Reply With Quote
Old 03-24-2025, 01:50 AM   #64
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,327
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Not it adds the CSS to a <style> tag in each HTML file. So open one of the HTML files and look there. The KTE driver used ot create a separate css file, the new code doesnt.
kovidgoyal is offline   Reply With Quote
Old 03-24-2025, 02:01 AM   #65
.tycho
Enthusiast
.tycho began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Ok, so I opened one of the chapter HTML files, and the only reference to hyphenation I see is:

Code:
<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: True;
    -webkit-hyphenate-limit-before: True;
    -webkit-hyphenate-limit-chars: True True True;
    -webkit-hyphenate-limit-lines: True;

    /* 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: True True True;
    hyphenate-limit-lines: True;
    hyphenate-limit-last: page;
}

h1, h2, h3, h4, h5, h6, td {
    -webkit-hyphens: none !important;
    hyphens: none !important;
}
</style>
The -webkit-hyphenate... settings just state True, instead of the numbers in the KoboTouch settings? Again, I could be totally missing it. Thanks!
.tycho is offline   Reply With Quote
Advert
Old 03-24-2025, 02:14 AM   #66
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,327
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...44ef1c900d0997
kovidgoyal is offline   Reply With Quote
Old 03-24-2025, 02:16 AM   #67
.tycho
Enthusiast
.tycho began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Yay, I found a bug and helped fix it! Thanks, Kovid, you're the best!!
.tycho is offline   Reply With Quote
Old 03-24-2025, 02:41 AM   #68
Mr_H_Poirot
Junior Member
Mr_H_Poirot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
Quote:
Originally Posted by JSWolf View Post
Garbage in, garbage out.

A. you don't know how the KePub was made.
B. You can use calibre or KePubify to make the KePub.
Thanks but I don't think this is relevant to my question. I know 'how' to turn an epub into a kepub using calibre. My question was whether calibre's conversion from standard ebooks epub to kepub will give materially different results from getting the kepub direct from standard ebooks

I have tested with a few books and can't 'see' a difference but that's a very small sample size. I am planning to store the epubs in calibre (as epubs are most compatible). I just wanted to check that I won't end up with a worse result by doing so

I don't know how the epub or kepub was made by standard ebooks. I do think they do a superb job at cleaning up some books from project Gutenberg and producing books that look great on e-readers. So not really sure what the garbage reference is
Mr_H_Poirot is offline   Reply With Quote
Old 03-24-2025, 02:53 AM   #69
Mr_H_Poirot
Junior Member
Mr_H_Poirot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
Quote:
Originally Posted by kovidgoyal View Post
Does this mean we should remove any ebooks added to our kobos that we have added since 8.0.1, and then re-add them once this fix is applied in 8.0.2?
Mr_H_Poirot is offline   Reply With Quote
Old 03-24-2025, 04:13 AM   #70
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,327
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Mr_H_Poirot View Post
Does this mean we should remove any ebooks added to our kobos that we have added since 8.0.1, and then re-add them once this fix is applied in 8.0.2?
Only if you use hyphenation.
kovidgoyal is offline   Reply With Quote
Old 03-24-2025, 04:31 AM   #71
Mr_H_Poirot
Junior Member
Mr_H_Poirot began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
Quote:
Originally Posted by kovidgoyal View Post
Only if you use hyphenation.
Thanks. Just checked and that box is unticked for me

Thank you very much for providing calibre and for continuing to update it
Mr_H_Poirot is offline   Reply With Quote
Old 03-24-2025, 06:34 AM   #72
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,691
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Mr_H_Poirot View Post
Thanks but I don't think this is relevant to my question. I know 'how' to turn an epub into a kepub using calibre. My question was whether calibre's conversion from standard ebooks epub to kepub will give materially different results from getting the kepub direct from standard ebooks

I have tested with a few books and can't 'see' a difference but that's a very small sample size. I am planning to store the epubs in calibre (as epubs are most compatible). I just wanted to check that I won't end up with a worse result by doing so

I don't know how the epub or kepub was made by standard ebooks. I do think they do a superb job at cleaning up some books from project Gutenberg and producing books that look great on e-readers. So not really sure what the garbage reference is
The thing is, with the KePub from Standard eBooks you don't know how it was made. The plugins to make KePub within calibre did have some bugs. However there is also the program KePubify that could have been used. I cannot say. That's why it's best to get the ePub and convert to KePub with calibre. this way you know how it's made. The KePub code has been redone in calibre and is now natively supported.
JSWolf is offline   Reply With Quote
Old 03-26-2025, 11:56 AM   #73
SamLoki
Retired-Ham Op-Audiophile
SamLoki began at the beginning.
 
SamLoki's Avatar
 
Posts: 7
Karma: 10
Join Date: Mar 2025
Location: Bronx New York
Device: Kobo Clara BW, Boox Page
Thank you for Creating Calibre kovidgoyal. I am still learning it. Is there a book or manual or anything to learn more about using Calibre? Tutorials? Thanks again.
SamLoki is offline   Reply With Quote
Old 03-26-2025, 12:10 PM   #74
HogDrvr
Connoisseur
HogDrvr began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Jul 2016
Device: Kindle Paperwhite
Quote:
Originally Posted by SamLoki View Post
Thank you for Creating Calibre kovidgoyal. I am still learning it. Is there a book or manual or anything to learn more about using Calibre? Tutorials? Thanks again.
https://calibre-ebook.com/help
HogDrvr is offline   Reply With Quote
Old 03-26-2025, 12:32 PM   #75
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,181
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Copy paste the following into the calibre search bar:


Code:
authors:"=Kovid Goyal"
bernie
Quote:
Originally Posted by SamLoki View Post
Thank you for Creating Calibre kovidgoyal. I am still learning it. Is there a book or manual or anything to learn more about using Calibre? Tutorials? Thanks again.
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2025-03-26 12-31-44.png
Views:	104
Size:	765.9 KB
ID:	214666  
gbm is offline   Reply With Quote
Reply

Tags
calibre, kepub, kobo, sideloading

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Calibre library with only kepub Regard_39 Kobo Reader 48 07-18-2024 02:40 AM
Creating epub/kepub books (docx→epub/kepub via MS Word→Calibre) SJC-Caron ePub 18 04-21-2016 11:10 AM
Is there a way to import kepub to calibre/convert a kepub to other formats? Major General Library Management 9 04-08-2014 10:00 PM
Mini kepub not showing in Calibre paola Kobo Reader 10 08-11-2013 09:34 AM
Touch Sideloaded EPUBs with KEPUB features jpelgrom Kobo Reader 22 08-01-2012 04:27 PM


All times are GMT -4. The time now is 10:51 AM.


MobileRead.com is a privately owned, operated and funded community.