hi,
Kindlegen will work with both page-map.xml or page list pageTarget info in the ncx just fine.
Yes, parsing the page-map.xml or the page list could easily be done in Calibre with a little extra work and actual offsets into the calibre equivalent of the assembled text could be generated.
Alternatively, a PAGE section could be added to the generated mobi8 azw3 since the PAGE section and APNX are very very similar.
Someone would have to create a patch for calibre azw3 code but it is not hard.
Quote:
Originally Posted by Doitsu
Could you eventually use the same code to create a script that'll generate a "real" .apnx file from a book that contains a pagemap instead of the fake one that Calibre generates?
Speaking of pagemaps, the Kindle publishing guidelines don't specify whether KindleGen expects Adobe style pagemaps or ncx based pagemaps.
Can you tell from the reverse engineered books, what kind of pagemap KindleGen expects?
|