|
|
#16 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,619
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
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. |
|
|
|
|
|
|
#17 | ||
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,989
Karma: 182150291
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Quote:
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. |
||
|
|
|
|
|
#18 |
|
Junior Member
![]() 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 |
|
|
|
|
|
#19 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,619
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#20 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,989
Karma: 182150291
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.
|
|
|
|
|
|
#21 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,989
Karma: 182150291
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
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.
|
|
|
|
|
|
#22 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,619
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#23 |
|
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15,639
Karma: 114630515
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
|
|
|
|
|
#24 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,619
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
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. |
|
|
|
|
|
#25 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,989
Karma: 182150291
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
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. |
|
|
|
|
|
|
#26 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 84,619
Karma: 153744815
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
And in that case, the HTML ToC is not duplicating anything as it's not in the novel. |
|
|
|
|
|
|
#27 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 53,989
Karma: 182150291
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
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.
|
|
|
|
|
|
#28 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,814
Karma: 3042690
Join Date: May 2025
Device: Kobo Forma, PocketBook InkPad Color 3
|
Hi, can I ask if it's possible to solve this? I guess the problem on a book I'm reading it's similar: the book shows as having 438 pages and what makes me annoying is that the first page shows as 219.
All other stuff seems ok, thought I'd would like to try to solve it. I'd read in internet that if there are epub and kepub of the same files in library it's possible that the converter mishaps something, or similar. Tried to use a new calibre library, within just that book file, tried removing epub and let only the kepub version, tried the opposite... nothing changed (didn't reboot the device, btw, so I'm not sure if metadata in there were really removed). Tried to put "0" as value on "slpit files larger than" on "kepub output" into "preferences". I have a Kobo Forma and use "Generic e-ink HD" in "Common Options" "Pages Setup" for "Output" and "Default Profile (which says' for 1600x1200)" for Input. If I use the raw epub file, sideloading (copying and paste) to the device from the files application the book seems fine (but doesn't has the others enhancements from Calibre), and the page count start by page 1. So it's something within the conversion I guess. May someone give an advice about? Thanks in advance. Ps: the book is not recent, so I'll try some other settings, as maybe it doesn't fits fine within 1600x1200 input.. Last edited by nana77; 11-06-2025 at 12:54 AM. |
|
|
|
|
|
#29 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,814
Karma: 3042690
Join Date: May 2025
Device: Kobo Forma, PocketBook InkPad Color 3
|
For the moment I had a nice result by converting it from the pdf file (to the Kobo epub/kepub).
The settings I'm using are these, btw: https://www.juliusunscripted.com/pos...-ebook-reader/ |
|
|
|
|
|
#30 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Aug 2026
Device: Tolino Shine
|
Just for anyone having this same issue, i.e. when converting epub to kepub via calibre, the
page-count on a kobo/tolino is doubled and the first actual page is somewhere in the middle - I just found a solution for the issue (at least, for the book I had it with): When I edit the epub-version with calibre (right click -> edit book), the text-documents had a space in their name, e.g. "Book Title_split_001.html". The content.opf (under Miscellaneous) had them as Code:
<item ... href="Text/Book Title_split_001.html" ... /> Code:
<content src="Text/Book%20Title_split_001.html"/> encoded as %20. Calibre passes both spellings through to the kepub unchanged, so the conversion itself is fine; the reader seems to treat the two spellings as two separate files, which would explain the doubled count and the content starting halfway through. To fix this, I:
Then I re-converted, and from then on it worked just fine. |
|
|
|
![]() |
|
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 |