![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
"Polish Book" causing ToC to disappear in ePub?
I am getting strange behavior when using polished epubs with a Kobo Sage. You access this feature by pressing "P" in Calibre. I've tried many different combinations of options in this menu but the latest is "update metadata", "update cover", "remove book jacket", "upgrade book internals" checked.
I get an original ePub. View it on the Kobo reader. The ToC shows properly. I polish the ePub and send the polished version to Kobo reader. The ToC is now gone. But the Calibre reader still shows the ToC properly. So it seems like the polish process is corrupting the ToC in the way that fails on the Kobo. If I then convert the polished ePub to a kepub and send that to the Kobo reader, the ToC shows up properly again. Polish books does something with the ToC that makes it fail on the Kobo, it seems. Is this a bug? Anyone else seen this? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
dont use upgrade book internals, the kobo is probably having issues with epub 3
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Nov 2023
Device: Kobo Sage
|
After further investigation, it doesn't seem so simple.
The Kobo reader doesn't have any problems with epub3 files I download from https://www.gutenberg.org/ or https://standardebooks.org/. It only has a ToC problem with epub3 generated by "Polish" in Calibre. So it would seem that epub3 files generated elsewhere are somehow more compatible than epub3 files generated by Calibre. |
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
I've also noticed the missing TOC issue on the Libra2 when using epub3. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
This is a simplified explaination
It's epub2 as epub1 was called OEPS or OEBPS (Open eBook Publication Structure) and dates to about 1998. The epub3 has many different options and the epub2 ToC is optional for "fully" epub3 based apps, but needed for many ereaders and apps. The native epub has a different system contents file. Also epub3 has many optional features, some of which are multimedia or interactive and thus not needed for "real" ebooks that are simply text and images. Additionally epub3 has a fixed layout option to do paper book replication, but differently to PDF (which is deliberately EXACTLY what a print on paper would be and used to generate paper print). Likely if you "Polish" and "upgrade" internal you get an epub3 with no fallback epub2 ToC. This can be automatically added in Calibre Editor. The epub3 from Gutenberg have no "fancy" epub3 features and have also the fallback epub2 ToC file. Both sorts of epub are renamed zip files. If you rename to zip you can extract all the files! Handy to get the images without Calibre. In theory, if you knew what you were doing you could use a text editor and repack to zip and rename to epub. It's better to use Sigil or Calibre. The kepub is Kobo's proprietary extension to epub2. It has extra <span> stuff </span> in the HTML files. The epub on a Kobo uses Adobe renderer, Adobe Digital Editions (abbreviated ADE). The kepub files use Kobo's own renderer which allows zooming images and popup footnotes but does the text layout differently. Some people prefer kepub and some prefer epub2. An epub2 and epub3 can look almost identical, and pretty much will be if the ebook was automatically created from a properly styled docx file and is not fixed layout epub3. The epub3 has better support for semantic based HTML that isn't recognised by epub2, but the onscreen appearance may be identical. Epub3 is better for textbooks with support for equations and javascript. |
![]() |
![]() |
![]() |
#7 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,750
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
You can do the rename. But not everything works such as highlighting.
|
![]() |
![]() |
![]() |
#10 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
The rename was more for use by authors so they could check for any formatting differences between the two renderers on various platforms.
From the KoboLabs epub-spec page: Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I extensively use annotation by touch keyboard. Just a short note made intelligible by a big highlight, so obviously renaming an epub would be bad for me. The kepubs created on the fly by the Extended Kobo driver (or pre converted and loaded by USB or Wifi from Kobo do allow bookmarks and annotations).
Calibre (either conversion in advance to kepub) or extended driver on the fly conversion to kepub makes the inferior renaming feature obsolete. Last edited by Quoth; 11-17-2023 at 05:18 AM. |
![]() |
![]() |
![]() |
#12 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,190
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,025
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
What's a Windows Console? ![]() Some of us antiques started before WIMPs existed ![]() I was at an antique fair for 1st time in years. I'm now older than most of what's on sale. "No, sir, that's not a 1970s telephone you're selling, it's 1960s!" Granddaughter looks at thing with marble handle, no dial and two cords. "What's that?" Much younger grandson, "It might be a telephone?" |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Embed the functions of "TOC Edit" into "TOC Tab"? | hhtmp88 | Plugins | 2 | 08-20-2020 02:09 PM |
Cover pages disappear when I "remove book from device" | morty92222 | Editor | 1 | 12-28-2019 09:43 PM |
"Polish" doesn't carry over from epub to mobi | beachboybogart | Conversion | 4 | 06-03-2019 05:45 PM |
hyperlinks disappear when "opening" a book with Sigil | Bookripper | Sigil | 11 | 01-23-2013 05:33 AM |
Bug in Kobo processing of epub files causing hang in "Processing content" | BensonBear | Kobo Reader | 21 | 12-21-2012 05:47 AM |