View Single Post
Old 03-18-2011, 10:13 PM   #94
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by tamahome View Post
... when I try to make my own .mobi file from a free epub file, and try to make an apnx file from the windows app, it doesn't work.
The page numbers are provided by the APNX file. If it is named the same as the MOBI file then there is something wrong with the APNX file.

Quote:
Originally Posted by dwanthny
It looks to me as if the Kindle page number generation is built into the Kindle's device interface plugin. Which may mean a simple conversion to mobi or azw won't do the trick.
Currently the APNX is only generated by calibre when sending a supported format (MOBI, AZW, PRC with BOOKMOBI internal type) to the Kindle using "Send to Device." This is when it happens but the calibre.devices.kindle.apnx.APNXBuilder class could be used outside of the device interface to generate an APNX. A GUI plulgin for instance could be written which calls APNXBuilder.write_apnx and creates an APNX for a specified MOBI file.

Due to the overwhelming popularity of people wanting to have and use APNX files with the Kindle PC and iPad apps I plan on creating a GUI plugin to do this very thing tomorrow. Also, I'm tired of people asking about it and how to do it.
user_none is offline   Reply With Quote