Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old Today, 01:40 PM   #1
LenaWolf
Member
LenaWolf began at the beginning.
 
LenaWolf's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-1, Kobo Libra Colour
Kobo Libra Colour gets TOC messed up

Hello,

I have a problem when sending ePub files through Calibre to the latest Kobo Libra Colour that I just bought. I am running the latest Calibre 8.15 on Windows 11.

If I just copy that ePub file to Kobo with the File Manager and let Kobo import it and convert it to KePub, everything looks perfect. But if I use the "Send to Device" button in Calibre, the book gets its table of contents messed up: some chapters in the book are being skipped and do not match the same chapters in the table of contents, so when you click on, say, chapter 15 in the TOC, you actually arrive to chapter 5 in the book. The header showing chapters reflects this error (says it's chapter 5 while it is in fact chapter 15).

Now in more detail. I have an ePub file converted from ODT with Calibre. It shows perfectly with the Calibre ePub viewer, it renders perfectly on the Kindle viewer program and on my older Sony eReader, and also if I just copy it to Kobo Libra through the File Manager, it looks perfect there as well. The problem occurs ONLY if I use the "Send to Device" button which makes Calibre convert ePub to KEPub for Kobo.

This book has many images (98 images and 155K words). The TOC begins getting messed up after the images, so it makes me think Calibre misses chapter markers when converting to KEPub. I tried changing the format, such as making sure that each image is displayed on its own page (and in its own XML file), but it makes no difference - every so often a chapter marker is missed. It is not consistent and I could not disover a rule as to when it gets missed, so I could not come up with a universal work-around. Inserting manual page breaks before and after the image does help in some cases, but not always.

My solution for now is not to use "Send to Device" for this eReader but instead copy the file directly, but I thought I'd post about it because this seems to be a bug in Calibre.

I can provide the book for testing purposes.

I hope this helps make Calibre better!
Thank you for your work.
LenaWolf is online now   Reply With Quote
Old Today, 01:44 PM   #2
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 48,544
Karma: 174510108
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
It would make troubleshooting a lot easier if you could attach the ePub to a message here. One quick suggestion would be to open the ODT file in LibreOffice and then export it as a docx. Import the docx to calibre and convert to ePub to see if that fixes the issue with the ToC.

Just as an aside, a Kobo ereader does not convert to kepub on import.
DNSB is offline   Reply With Quote
Old Today, 06:38 PM   #3
LenaWolf
Member
LenaWolf began at the beginning.
 
LenaWolf's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-1, Kobo Libra Colour
Quote:
Originally Posted by DNSB View Post
It would make troubleshooting a lot easier if you could attach the ePub to a message here. One quick suggestion would be to open the ODT file in LibreOffice and then export it as a docx. Import the docx to calibre and convert to ePub to see if that fixes the issue with the ToC.

Just as an aside, a Kobo ereader does not convert to kepub on import.
I am sorry, I cannot attach the book to a message in a public forum because I hope to publish it one day.

As for your suggestion, I do not understand why that would help since the very same epub file looks perfect when it is not converted to Kepub. And again excuse me but something certainly does convert epub to kepub because the Kobo reader shows that file differently. When I use "Send to Device" button, it is stored in Kobo's secret folders and is listed in the book library as a KEPUB. Whereas if I just copy the epub file to the reader with the File Manager, it is converted by the Kobo reader on import and listed as EPUB. It looks differently (not just this file but all others imported via these two routes look differently). So basically EPUB files interpreted by the Kobo reader look correctly but KEPUB files created when pressing "Send to Device" button have this problem.
LenaWolf is online now   Reply With Quote
Old Today, 06:42 PM   #4
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: 14,069
Karma: 243829945
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by LenaWolf View Post
I am sorry, I cannot attach the book to a message in a public forum because I hope to publish it one day.

As for your suggestion, I do not understand why that would help since the very same epub file looks perfect when it is not converted to Kepub. And again excuse me but something certainly does convert epub to kepub because the Kobo reader shows that file differently. When I use "Send to Device" button, it is stored in Kobo's secret folders and is listed in the book library as a KEPUB. Whereas if I just copy the epub file to the reader with the File Manager, it is converted by the Kobo reader on import and listed as EPUB. It looks differently (not just this file but all others imported via these two routes look differently). So basically EPUB files interpreted by the Kobo reader look correctly but KEPUB files created when pressing "Send to Device" button have this problem.
You obviously have the Kobo driver in Calibre configured to send kepubs.
Sirtel is offline   Reply With Quote
Old Today, 06:45 PM   #5
LenaWolf
Member
LenaWolf began at the beginning.
 
LenaWolf's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-1, Kobo Libra Colour
Quote:
Originally Posted by Sirtel View Post
You obviously have the Kobo driver in Calibre configured to send kepubs.
I thought something like this was happening but I could not find where that was set! Do you know how I can disable it?

But anyhow, it seems to be broken for my particular book.
LenaWolf is online now   Reply With Quote
Old Today, 06:47 PM   #6
LenaWolf
Member
LenaWolf began at the beginning.
 
LenaWolf's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-1, Kobo Libra Colour
Quote:
Originally Posted by DNSB View Post
It would make troubleshooting a lot easier if you could attach the ePub to a message here. One quick suggestion would be to open the ODT file in LibreOffice and then export it as a docx. Import the docx to calibre and convert to ePub to see if that fixes the issue with the ToC.
I have just tried exporting as DOCX and then converting it with Calibre... Oh gosh, what a mess. I lost ALL TEXT!!! I don't think this will work for me. I may be allergic to Word. Or the other way around.
LenaWolf is online now   Reply With Quote
Old Today, 06:47 PM   #7
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: 14,069
Karma: 243829945
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by LenaWolf View Post
I thought something like this was happening but I could not find where that was set! Do you know how I can disable it?

But anyhow, it seems to be broken for my particular book.
Do you have the Kobo Utilities plugin installed? It's easiest to access the driver via that. Right-click on the plugin icon -> Configure driver -> Collections, covers and uploads -> uncheck Use Kobo viewer for EPUB books
Sirtel is offline   Reply With Quote
Old Today, 07:12 PM   #8
LenaWolf
Member
LenaWolf began at the beginning.
 
LenaWolf's Avatar
 
Posts: 10
Karma: 10
Join Date: Oct 2025
Device: Sony PRS-1, Kobo Libra Colour
Quote:
Originally Posted by Sirtel View Post
Do you have the Kobo Utilities plugin installed? It's easiest to access the driver via that. Right-click on the plugin icon -> Configure driver -> Collections, covers and uploads -> uncheck Use Kobo viewer for EPUB books
Thank you! No, I don't have Kobo Utilities plugin, I didn't install any plugins really, it's just what Calibre comes with. But I found a pre-installed Kobo Touch plugin and in there I could disable KEPUB.

The result was interesting: the TOC is fixed but the format is still different from when you just copy files with the File Manager. Kobo still shows it as KEPUB, but I think this time it was Kobo itself that did the conversion because it said "importing files" when I disconnected it from the computer.

Anyway, thank you very much - the problem is solved for me!

This means that there is a bug with the driver of Kobo Touch, alas. If the developer wants to debug it, I can send my book for testing via personal message, just let me know.

Many thanks to everyone involved!
LenaWolf is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Kobo Libra Colour upgradable? risen Kobo Developer's Corner 7 07-09-2025 07:26 AM
Kobo Libra Colour Support xtin Devices 79 04-07-2025 01:56 AM
Subjective Comparison of Libra 2, Libra Colour and Clara Colour rogerinnyc Kobo Reader 1 01-07-2025 11:17 AM
Kobo Libra Colour sync books from Google Drive to Kobo Web Reader gotis Kobo Reader 3 11-30-2024 08:49 PM
Fonts for kobo libra colour Juan78 Kobo Reader 4 11-18-2024 10:07 AM


All times are GMT -4. The time now is 07:35 PM.


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