View Single Post
Old 04-05-2020, 10:35 AM   #23
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,117
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Notjohn View Post
Create a page list?
Page numbers in Kindle books are supposed to be "real page numbers" that match up to the pages of a print edition of the same book.

I believe that you are familiar with the <navMap> which defines a TOC in an EPUB2 NCX file. Each entry there links to the corresponding content in the book. The NCX can also have a <pageList> which links to the content corresponding to the start of each numbered page in the book.

To add pages you look at the text that starts each numbered page in your print edition, find the equivalent text in your EPUB, start a new element there if one does not already exist, add a unique "id" to the element containing the start of the text, and add a link to that HTML file/id in the NCX <pageList>.

There may be a tools that can perform some of this operation automatically, but I don't know of any.

(The above is all for EPUB2. There is an equivalent structure for EPUB3.)
jhowell is offline   Reply With Quote