Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2012, 06:08 AM   #1
FredLx
Junior Member
FredLx began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2012
Device: Kindle
Kindle .apnx set first "page" offset

I have been making .mobi ebooks for my kindle and have figured out how to use Calibre to create mobi ebooks that show pages in the kindle by using the Count Pages plugin and also enabling "send page information" in the Kindle 2/3/4 interface plugin which exports the page info/count in an .apnx file.

This works great. The thing is that the first page is always at the immediate beginning of the ebook. I would like the first page to be after the cover, table of contents, etc., and for it to be at the start of the first chapter while keeping the page count the same. This is something I have seen in ebooks downloaded from amazon so I know it possible. I am certain it is something in the .apnx file but am not sure what.
FredLx is offline   Reply With Quote
Old 03-15-2012, 01:51 PM   #2
Skydog
Wizard
Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.Skydog ought to be getting tired of karma fortunes by now.
 
Skydog's Avatar
 
Posts: 1,946
Karma: 6735838
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa, Sage, Forma, Libra 2 & H₂0, Mini, Oasis3, Voyage
The Calibre sub-forum is a better place for this question.

Last edited by Skydog; 03-15-2012 at 01:53 PM.
Skydog is offline   Reply With Quote
Advert
Old 03-16-2012, 11:44 PM   #3
FredLx
Junior Member
FredLx began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2012
Device: Kindle
So I've done a little fiddling around and figured a bit of it out. The offset is defined in the apnx file where it says "pageMap":"(1,a,1)" . The first digit in the parenthesis is the start offset from what little experimenting I did. This can be changed in a text editor but only up to 9. After that is messes it up and no pages appear at all. I think it has something to do with pushing back the binary encoded stuff that comes later in the file which causes it to not work. But as long as you want a offset of only up to nine pages, this works since you're not pushing back the binary stuff by changing only one digit.

If you're creating your page count with Count Pages plugin in Calibre, you'll want to add the offset to the total pages because the offset lowers the total page count. For example if the plugin defines 250 pages and you want an offset of 5 at the beginning of the book (for the table of contents or a foreword or whatever), then manually change the page count to 255. Otherwise the last page of the book would be 245.
FredLx is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to store and use Kindle ".apnx" files? HarryT Devices 3 01-31-2012 04:28 AM
How to set Kindle "Go to Beginning" marker? timfrost Conversion 0 05-17-2011 11:28 AM
Creator taking control of the "first page" link in the "content" menu cyberbaffled Kindle Formats 2 07-11-2010 05:21 PM
Serial Numbers No Longer Shown on "Manage Your Kindle" Page sirbruce Amazon Kindle 1 03-09-2009 12:50 PM
Swap "Prev Page" & "Next Buttons" ???? kilofox Amazon Kindle 6 04-03-2008 12:39 AM


All times are GMT -4. The time now is 07:06 PM.


MobileRead.com is a privately owned, operated and funded community.