![]() |
#16 |
Da'i
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,144
Karma: 1217499
Join Date: Oct 2008
Location: Baltimore
Device: Toshiba Thrive, Kobo Touch, Kindle 1, Aluratek Libre, T-Mobile Comet
|
Just use your ereader's search function to pick up where you left off.
|
![]() |
![]() |
![]() |
#17 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
Oh, I didn't understand that. No, the page numbers will definitely not correspond with those in ADE.
Then I got nothin. I am curious if there is a way to do this. eP |
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,916
Karma: 70186655
Join Date: Feb 2009
Device: Kobo Clara 2E
|
|
![]() |
![]() |
![]() |
#19 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,542
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
![]() Quote:
|
||
![]() |
![]() |
![]() |
#20 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,916
Karma: 70186655
Join Date: Feb 2009
Device: Kobo Clara 2E
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
Quote:
Edit for more info: If you pay attention while reading on your nook or even on a PC, sometimes the page numbers don't change when you turn the page. The ADE-generated page numbers don't correspond to reflowed text pages on a reader, and depending on the device and the size of your font, margins, etc, you might be on the same ADE page for 3-4 page turns. The only way this will help with a printed page is if you were somehow able to print a single ADE page to a single piece of paper. Last edited by toddos; 12-21-2011 at 12:48 PM. |
|
![]() |
![]() |
![]() |
#22 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
ADE page numbers are device-independent; they are a count of units of 1024 bytes of the compressed file.
|
![]() |
![]() |
![]() |
#23 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
|
I have another idea! How about exploding the epub file, and then running a script (written in PERL?) to add a number within the text after every 1024 bytes. Are there a fixed number of characters in a byte? I wonder why it's calculated on the compressed file?
Anyway, if ADE/your reader can do this calculation, then so can you! (in theory, at least...) eP |
![]() |
![]() |
![]() |
#24 | |
Da'i
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,144
Karma: 1217499
Join Date: Oct 2008
Location: Baltimore
Device: Toshiba Thrive, Kobo Touch, Kindle 1, Aluratek Libre, T-Mobile Comet
|
Quote:
|
|
![]() |
![]() |
![]() |
#25 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
![]() Last edited by HarryT; 12-21-2011 at 02:42 PM. |
|
![]() |
![]() |
![]() |
#26 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
Even if you could count characters, epub allows UTF-8 or UTF-16 which means you can't make any easy assumptions about character size (UTF-16 you can assume 1 char == 2 bytes, but UTF-8 could be 1 byte, 2 bytes, or even 3 bytes).
|
![]() |
![]() |
![]() |
#27 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
As HarryT says, it's every 1024 bytes of the compressed file, and yes, that means that if you have exactly the same content but compressed with different compression levels, they'll have different numbers of "pages".
And it's even more convoluted. The 1024 figure is used to calculate the number of pages a given file has (not the complete ePub, but a file, or "chapter", inside it). But for getting the placement of the page boundaries, the text content of the file (not the HTML tags or comments) is divided evenly in the calculated number of pages. This time it's the uncompressed content that counts, of course. It's easy to know how many "pages" an ePub will have in ADE, but it's not simple to know where the page boundaries will be located. |
![]() |
![]() |
![]() |
#28 |
Award-Winning Participant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,384
Karma: 68329346
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
|
|
![]() |
![]() |
![]() |
#29 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 695
Karma: 822675
Join Date: May 2010
Device: Kobo Aura, Nokia Lumia 920 (Freda)
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
protecting epub files from copying & printing | cyberbaffled | ePub | 45 | 06-28-2018 10:17 AM |
Printing | cajunseo | enTourage eDGe | 26 | 10-21-2011 09:48 AM |
Questions about best practices: InDesign CS5 to ePub (file formatted for printing) | mtrahan | ePub | 15 | 06-17-2011 03:43 AM |
Printing annotations | pjssilva | Sony Reader | 2 | 09-01-2009 08:25 AM |
List printing | Linda | Sony Reader | 6 | 05-28-2008 06:17 PM |