Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-08-2020, 03:06 PM   #1
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 14328510
Join Date: Nov 2019
Device: none
convert kindle to epub, then no TOC

By TOC what I mean is the pop up table of contents you get when you click on its icon at the bottom left of the screen on the Kobo. I don't know where that comes from, I'm guessing it's the toc.ncx file.

Is there some setting I need to use so that I always get that TOC when I use calibre to convert from a mobi or azw3 file to epub?
hobnail is offline   Reply With Quote
Old 07-08-2020, 03:13 PM   #2
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: 80,320
Karma: 148951763
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 hobnail View Post
By TOC what I mean is the pop up table of contents you get when you click on its icon at the bottom left of the screen on the Kobo. I don't know where that comes from, I'm guessing it's the toc.ncx file.

Is there some setting I need to use so that I always get that TOC when I use calibre to convert from a mobi or azw3 file to epub?
Take a look at the KF8 file in the Calibre editor. You'll then be able to see why you didn't get an NCX ToC built.

Without seeing the code, there's no way to know why there was no proper ToC generated. Post an example of the Chapter header and the CSS that goes with it.

Is this eBook a single HTML file? Is it multiple HTML files? Is the code a mess?

Last edited by JSWolf; 07-08-2020 at 03:16 PM.
JSWolf is offline   Reply With Quote
Old 07-08-2020, 03:19 PM   #3
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: 47,518
Karma: 171313258
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by hobnail View Post
By TOC what I mean is the pop up table of contents you get when you click on its icon at the bottom left of the screen on the Kobo. I don't know where that comes from, I'm guessing it's the toc.ncx file.

Is there some setting I need to use so that I always get that TOC when I use calibre to convert from a mobi or azw3 file to epub?
That sounds as if the original ebook did not have a table of contents or properly marked chapter headers. Have you tried enabling Force use of auto-generated Table of Contents in the Table of Contents section under Conversion/Common Options?

You may want to check the Table of Contents segment of the calibre on-line manual which also discusses manually editing the table of contents which comes in handy where calibre is unable to create an usuable ToC. There are time when the Mark One eyeball is the only tool for the job.
DNSB is offline   Reply With Quote
Old 07-08-2020, 03:31 PM   #4
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: 80,320
Karma: 148951763
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 DNSB View Post
That sounds as if the original ebook did not have a table of contents or properly marked chapter headers. Have you tried enabling Force use of auto-generated Table of Contents in the Table of Contents section under Conversion/Common Options?
If that is the case and if the eBook may be one HTML file, did the chapters split properly?
JSWolf is offline   Reply With Quote
Old 07-08-2020, 04:44 PM   #5
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 14328510
Join Date: Nov 2019
Device: none
Quote:
Originally Posted by DNSB View Post
That sounds as if the original ebook did not have a table of contents or properly marked chapter headers. Have you tried enabling Force use of auto-generated Table of Contents in the Table of Contents section under Conversion/Common Options?
I did some experiments and it looks like it's because I have it set for epub 3 in the output options. For no particular reason, except for consistency I suppose, since I always use epub3 when starting something in sigil.

It's unfortunate that calibre doesn't also produce the toc.ncx file when the output is set to epub 3. In sigil I always generate one just before the final epubcheck.

Last edited by hobnail; 07-08-2020 at 04:47 PM.
hobnail is offline   Reply With Quote
Old 07-08-2020, 08:24 PM   #6
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: 47,518
Karma: 171313258
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by hobnail View Post
I did some experiments and it looks like it's because I have it set for epub 3 in the output options. For no particular reason, except for consistency I suppose, since I always use epub3 when starting something in sigil.

It's unfortunate that calibre doesn't also produce the toc.ncx file when the output is set to epub 3. In sigil I always generate one just before the final epubcheck.
For me as well, generating the toc.ncx from the navigation document is one of the last things I do when editing an epub3 with Sigil.

We do have to remember that for an epub3, the toc.ncx is allowed for compatibility with older reader code and is not required.
DNSB is offline   Reply With Quote
Old 07-09-2020, 07:18 AM   #7
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: 80,320
Karma: 148951763
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I think Calibre needs an option to allow NCX or not with ePub 3.

But the thing is, what does a conversion from KF8 bring when converted to ePub 3 instead of ePub 2?

I've converted many an ePub 3 to ePub 2 and lost nothing.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TOC problem when using calibre to convert epub to mobi magic_cwin Conversion 3 11-18-2019 10:54 AM
ePub 3 loses TOC when published to Kindle wmike Sigil 3 09-16-2016 05:25 AM
Ho do I create a TOC for ePub which does convert to an active TOC in Kindle Previewer K-Thom Calibre 1 09-24-2013 06:32 PM
epub to kindle TOC suzanneskifirst ePub 1 06-30-2011 08:25 PM
ePub TOC page not detected by Calibre on convert chyron8472 Conversion 4 03-11-2011 05:10 PM


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


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