07-17-2024, 09:18 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2024
Device: Pocketbook 623, PocketbookEra
|
wrong page numbers in epub file
hi, i have a pocketbook 623 and i have this problem where the number of pages doesnt correspond the number of "screens"
it takes 2-3 scrolls for the page counter to change is there any way to fix this so it shows the actual number of pages? thank you! |
07-17-2024, 12:01 PM | #2 |
Connoisseur
Posts: 65
Karma: 388296
Join Date: Aug 2022
Location: USA
Device: Pocketbook Inkpad Color 3
|
It's by design. If you want to have screen pages, you should install KOReader.
|
Advert | |
|
07-17-2024, 12:58 PM | #3 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Pocketbook is using RMSDK which is th underlying software for Adobe Digital Editions. ADE uses 1024 uncompressed characters = 1 page. That's the most accurate eBook page numbering you can possibly get. The page number won't change if you change the font, font size, line-height, and any other settings.
Last edited by JSWolf; 08-04-2024 at 05:09 PM. |
07-17-2024, 03:51 PM | #4 |
Guru
Posts: 973
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
|
07-17-2024, 04:52 PM | #5 |
Connoisseur
Posts: 65
Karma: 388296
Join Date: Aug 2022
Location: USA
Device: Pocketbook Inkpad Color 3
|
Internally, ePub is just a ZIP archive with a special folder structure. So a page is 1K of a ZIP-archive. I know, it's not the best way since compression ratio will skew page numbers, but it's a de facto standard by Adobe.
|
Advert | |
|
07-17-2024, 05:20 PM | #6 |
Guru
Posts: 973
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
Oh just a block of the uncompressed HTML? That’s surprisingly crude but apparently “good enough”
|
07-17-2024, 05:39 PM | #7 |
Connoisseur
Posts: 65
Karma: 388296
Join Date: Aug 2022
Location: USA
Device: Pocketbook Inkpad Color 3
|
|
07-18-2024, 08:33 AM | #8 |
Guru
Posts: 973
Karma: 2209358
Join Date: Nov 2011
Location: London, UK
Device: Kobo Aura, Kobo Aura ONE, PocketBook InkPad Color 3
|
|
07-18-2024, 12:13 PM | #9 | |
eReader Wrangler
Posts: 7,747
Karma: 50255637
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
Quote:
I should mention that I tested this on my Touch HD 3 and PB615 so it should be the same on the PB623 but I can't guarantee it. |
|
07-18-2024, 12:18 PM | #10 |
eReader Wrangler
Posts: 7,747
Karma: 50255637
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
You don't have to use KoReader, just turn off built-in page numbers and it will calculate (and number) the screens instead. As mentioned in my other post, it's not instant when you change font size or margins, but once you've got that set it's no different than using a Kobo (in KePub mode) or KoReader.
|
07-18-2024, 01:03 PM | #11 |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
1024 bytes as 1K can also mean 1000 bytes.
|
07-18-2024, 04:38 PM | #12 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jul 2024
Device: Pocketbook 623, PocketbookEra
|
Quote:
thank you! but sadly it does not work for me, theres just no option like that i guess ill have to learn to live with it |
|
07-19-2024, 01:06 PM | #13 |
eReader Wrangler
Posts: 7,747
Karma: 50255637
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
I'm sorry to hear that. I thought my PB615 (Russian version of the Basic Lux) would be about the same age as your Touch Lux, but I guess it must be a little newer.
|
08-04-2024, 12:24 PM | #14 |
Connoisseur
Posts: 86
Karma: 33940
Join Date: May 2010
Device: Opus
|
IIRC, it's actually 1024 bytes of the uncompressed HTML file that make up a page. The idea is to be able to compute a number of pages solely from the zip headers, without having to look inside (i.e. uncompress) the HMTL files, and consequently to be able to navigate to a certain page by opening solely the corresponding HTML file. Zip headers indicate the uncompressed size, so there is no reason to use the compressed size; in fact, once you go "inside" an HTML, you need uncompressed bytes. This approximation works very well; after all, two paper editions of the same text can have very different page count, so there is no single truth (if you have to make it; of course EPUB also supports explicit page numbers, to match a given paper edition). Even the byte vs. character is not much of a problem in practice (although you can fool that by using NCRs in UTF-32 to get 32 bytes per character: "€" 8 characters per NCR and 4 bytes per character!)
Kindle took a different and more complicated approach. In particular, it better accounts for images. Also, remember that the notion of page comes into play for paying authors, so it needs to be more accurate; and Amazon is practically between every author and every reader, so it can spend some time determining page numbers. |
08-04-2024, 04:12 PM | #15 | |
Resident Curmudgeon
Posts: 76,491
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page numbers wrong in TOC | gingerbeardman | ePub | 7 | 12-08-2021 07:39 AM |
Clara HD Page numbers in wrong spots | walhir | Kobo Reader | 10 | 05-18-2020 09:54 AM |
Page numbers wrong on Kobo!! | cabal2000 | Kobo Reader | 8 | 01-05-2019 10:26 AM |
Kindle 4 NT, wrong time and page numbers | dove_g | Amazon Kindle | 7 | 04-06-2012 09:34 PM |
Calibre getting page numbers wrong in conversion to epub. | WendyH | Conversion | 9 | 09-04-2011 06:29 AM |