![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
Where to find/view epub pagination?
I frequently send epubs to my Kindle Paperwhite using 'Send to Kindle' via email. When I open the book on my Paperwhite, or in the Kindle iOS app, there are fixed page numbers displayed, e.g., Page 1 of 250. I always assumed these page numbers were embedded into the epub file. So out of curiosity, I opened a few books in Calibre's editor but I can't find pages anywhere in the html or metadata. Where does that pagination come from? Does Amazon/Kindle add the pages into the file during the 'Send to Kindle' process? Or is Amazon/Kindle reading the pages in the epub file itself? If it's embedded into the epub file, is there a way to view how many pages a book has inside Calibre (in the editor or elsewhere)?
|
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
There are no pages as such in an epub. The page is determined by the viewer used (Kindle, Kobo, Calibre etc) as changing say the size of the font will change the number of words per screen and so the total number of pages in the book. It is dynamic so the file itself doesn't need to concern itself with page numbers.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
In addition to @georgemk
![]() Many devices calculates the progress and/or page counts using proprietary algorithms , so it will be rare they match between brands. (APNX is a Kindle thing and became my standard of reference when selecting next reads in Calibre ) ![]() FWIW I wish Academia would just drop the concept of PAGE and reference JUST by offset from a major division (CPW). eg. Chapter 42: Paragraph 27: Word 13 That works at any Zoom or font size. |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
The pages displayed on Kindle do not change. If I change the font or text size, the total number of pages stay the same, it's fixed. I'm wondering: if the epub file does not contain those page numbers, then where is Kindle getting them from?
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,178
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
You sent it "send to Kindle", Amazon then converted the epub to KFX or AZW, so that is were I would look for where the page numbers came from.
bernie Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
Quote:
I connected my Kindle to my PC and imported the converted ebook file (KFX) into Calibre. Since KFX doesn't work with the editor, I converted to AZW3 and then opened it in the editor. I still don't see page numbers in the html or metadata. However, I did notice that in my Kindle's file structure, each book folder contains a data subfolder with a .pagination.cache file. So I'm assuming that the page numbers were generated/added during the epub to KFX conversion process and then stored in this file. |
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,178
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
In the html of the books file look for <p class="classwhatever" id="page_number"> and <span id="page_number"> .
Use regex search id="page_\d+" bernie Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,198
Karma: 1355861
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,178
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
I just email a ebook that I have owned for 25 years--original format was lit--no page number in the epub sent to Amazon. The KFX I received from Amazon has page numbers in the text.
e.g. Code:
<p id="page_253" class="class_s4"> <span id="page_254"></span> bernie Quote:
|
|
![]() |
![]() |
![]() |
#10 | |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 | ||
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#12 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
|
I've never owned a Kindle but on my Kobo, the page number count does change when you change the font size. One book went from 4k pages to 88k pages when I changed the font size to the largest available instead of the usual 40% of maximum size (the control is a slider not a numeric control so no idea what the font size would be in real life).
|
![]() |
![]() |
![]() |
#13 | |
Member
![]() Posts: 10
Karma: 10
Join Date: May 2025
Device: Kindle Paperwhite (7th Generation)
|
Quote:
|
|
![]() |
![]() |
![]() |
#14 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,338
Karma: 168808725
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
You can go back and read several threads with arguments over which is best. Last edited by DNSB; 05-26-2025 at 07:13 PM. Reason: Added immutability of page count for book when reading ePub. |
|
![]() |
![]() |
![]() |
Tags |
epub, pages, send to kindle |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub to pdf pagination | kerliza | Conversion | 8 | 03-23-2014 02:26 AM |
Converting epub into pdf with print pagination | luciano | Workshop | 6 | 09-05-2012 05:15 PM |
Keeping Pagination in ePub | azores | ePub | 5 | 03-28-2012 12:17 PM |
EPub pagination | ccowie | Calibre | 11 | 02-09-2011 10:59 PM |
Pagination fichier ePub et PRS-505 | Grimaud | Sony Reader | 10 | 12-05-2009 10:18 PM |