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 08-18-2024, 04:57 PM   #16
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: 75,922
Karma: 134368292
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 ViktorEvil View Post
I have checked both toc files and they are identical and have the correct number of files listed.

The book displays the pages correct and in the right order etc, it is just the page numbers that are off
Forget the HTML ToC exists. It's worthless. Just ignore it or delete it.

What you need to do is edit the NCX ToC to add ALL of the HTML files to the ToC. If you are missing any HTML files in the NCX ToC, the page numbers can be off.

In the calibre editor, go to Tools > Table of Contents > Edit Table of Contents and edit the ToC to add in the missing HTML in the same order they are in in the Text list in the left of the editor.
JSWolf is offline   Reply With Quote
Old 08-18-2024, 05:39 PM   #17
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: 39,525
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by xhaydenx View Post
I've got a Kobo Clara HD and I use a Calibre to manage all my Epubs. I convert them in Calibre to Kepub and then transfer them over.
Quote:
Originally Posted by JSWolf View Post
Forget the HTML ToC exists. It's worthless. Just ignore it or delete it.

What you need to do is edit the NCX ToC to add ALL of the HTML files to the ToC. If you are missing any HTML files in the NCX ToC, the page numbers can be off.

In the calibre editor, go to Tools > Table of Contents > Edit Table of Contents and edit the ToC to add in the missing HTML in the same order they are in in the Text list in the left of the editor.
Jon, Jon, Jon... I hate to burst your bubble but in an ePub3, the html navigation document is not worthless. It is the navigation document for that ePub. You can have an optional NCX ToC which is not used by an ePub3 renderer rendering an ePub3 document. The only reason for the NCX document in an ePub3 is for backwards compatibility with ePub2 renderers.

Since it is clearly stated that the OP is using kepub—you did read the original message in this thread which I quoted above?—they are using the ePub3 renderer and any ePub3 documents will be using the HTML navigation document.

Last edited by DNSB; 08-18-2024 at 05:43 PM.
DNSB is online now   Reply With Quote
Old 08-18-2024, 05:42 PM   #18
ViktorEvil
Junior Member
ViktorEvil began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2024
Device: Kobo Clara Color
When I said I checked the toc files I mean in both an epub and converted kepub and both NCX toc files were correct listing all html files in the correct order. The book loads an reads correctly but the page numbers are off by 100% of the total pages after the cover

In a book of 300 pages:
The cover is page 1
page 2 is displayed as 300
pages then count up correctly until
page 300 is displayed as 600

I can read the book fine but the slider at the bottom of the menu jumps to halfway after I click past the cover
ViktorEvil is offline   Reply With Quote
Old 08-18-2024, 05:46 PM   #19
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: 75,922
Karma: 134368292
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
Jon, Jon, Jon... I hate to burst your bubble but in an ePub3, the html navigation document is not worthless. It is the navigation document for that ePub. You can have an optional NCX ToC which is not used by an ePub3 renderer rendering an ePub3 document. The only reason for the NCX document in an ePub3 is for backwards compatibility with ePub2 renderers.

Since it is clearly stated that the OP is using kepub—you did read the original message in this thread which I quoted above?—they are using the ePub3 renderer and any ePub3 documents will be using the HTML navigation document.
I'm talking about the HTML ToC that most eBooks come with that you don't need be it ePub3 or ePub2 because it's not really used.
JSWolf is offline   Reply With Quote
Old 08-18-2024, 05:46 PM   #20
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: 39,525
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
If the ebooks are public domain, you could attach one of them to a message in this thread so others can see the exact structure. If they are not public domain, you can use the ScrambleEbook: Getting help with copyrighted books plugin to scramble the kepub and then attach it to a message here. You will likely have to change the extension to end in .epub since I don't think MobileRead allows attaching .kepub files.
DNSB is online now   Reply With Quote
Old 08-18-2024, 05:48 PM   #21
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: 39,525
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
I'm talking about the HTML ToC that most eBooks come with that you don't need be it ePub3 or ePub2 because it's not really used.
In many ePub3 ebooks, the navigation document also serves as the HTML ToC document. In an ePub3, the NCX navigation document is not used. It's a vestigial appendix.
DNSB is online now   Reply With Quote
Old 08-19-2024, 10:04 AM   #22
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: 75,922
Karma: 134368292
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
In many ePub3 ebooks, the navigation document also serves as the HTML ToC document. In an ePub3, the NCX navigation document is not used. It's a vestigial appendix.
In most eBooks, there is an HTML ToC that's not the NAV or the NCX. That's the one that's not needed.
JSWolf is offline   Reply With Quote
Old 08-19-2024, 12:57 PM   #23
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,250
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by JSWolf View Post
In most eBooks, there is an HTML ToC that's not the NAV or the NCX. That's the one that's not needed.
It's copying the paper book. It's not needed on any decent ereader or app.
Quoth is offline   Reply With Quote
Old 08-19-2024, 01:41 PM   #24
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: 75,922
Karma: 134368292
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 Quoth View Post
It's copying the paper book. It's not needed on any decent ereader or app.
No it's not copying the pBook. Not many novels have a ToC. So the HTML ToC inside the book is not part of the pBook in most cases.

Last edited by JSWolf; 08-19-2024 at 06:17 PM.
JSWolf is offline   Reply With Quote
Old 08-19-2024, 05:47 PM   #25
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: 39,525
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
No it's not copying the pBook. Not pBooks don't have a ToC. So the HTML ToC inside the book is not part of the pBook in most cases.
Can we get a translation on exactly what "Not pBooks don't have a ToC" means? Followed by the almost equally weird "the HTML ToC inside the book is not part of the pBook in most cases."

Are you trying to say that the HTML ToC found in an ebook is not part of the pBook in most cases? If so, I just checked 11 fiction pBooks and all of them had a ToC. See attached sample image from Blindsight. The only difference between the ToC in the paper and electronic book versions is that the paper book version has page numbers.
Attached Thumbnails
Click image for larger version

Name:	IMG_3111.JPG
Views:	21
Size:	324.3 KB
ID:	210302  
DNSB is online now   Reply With Quote
Old 08-19-2024, 06:18 PM   #26
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: 75,922
Karma: 134368292
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
Can we get a translation on exactly what "Not pBooks don't have a ToC" means? Followed by the almost equally weird "the HTML ToC inside the book is not part of the pBook in most cases."

Are you trying to say that the HTML ToC found in an ebook is not part of the pBook in most cases? If so, I just checked 11 fiction pBooks and all of them had a ToC. See attached sample image from Blindsight. The only difference between the ToC in the paper and electronic book versions is that the paper book version has page numbers.
I meant to say that not many novels have a ToC.

And in that case, the HTML ToC is not duplicating anything as it's not in the novel.
JSWolf is offline   Reply With Quote
Old 08-19-2024, 08:59 PM   #27
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: 39,525
Karma: 154147704
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
I thought it was the NCX Toc for ePub2 and ePub3 that KePub uses for page numbers. I've nevr edited the ePub3 Toc. I've always added to the NCX ToC for KePub.
In a ePub3, the navigation document is the one used for navigation. In an ePub3, the NCX document is only used when an ePub2 renderer is used.
DNSB is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the benefits of Calibre converting epub to kepub? Colonel Cathcart Calibre 4 01-13-2021 06:01 AM
Word Count and Page Count? CrossReach Library Management 2 07-19-2018 05:44 PM
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
Converting to arial unicode doubles size ddinc Conversion 2 08-23-2013 04:14 AM
Is it possible to have Calibre transfer books to Aura without converting to kepub? kaufman Kobo Reader 17 05-17-2013 01:46 PM


All times are GMT -4. The time now is 02:24 PM.


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