![]() |
#1 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,286
Karma: 7409537
Join Date: Mar 2009
Location: Circling Earth @ Mach .83
Device: Elipsa 2E, Sage, Libra Colour, Libra 2, Clara 2E, Oasis3, Voyage
|
The Calibre sub-forum is a better place for this question.
Last edited by Skydog; 03-15-2012 at 12:53 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any way to store and use Kindle ".apnx" files? | HarryT | Devices | 3 | 01-31-2012 03:28 AM |
How to set Kindle "Go to Beginning" marker? | timfrost | Conversion | 0 | 05-17-2011 10:28 AM |
Creator taking control of the "first page" link in the "content" menu | cyberbaffled | Kindle Formats | 2 | 07-11-2010 04:21 PM |
Serial Numbers No Longer Shown on "Manage Your Kindle" Page | sirbruce | Amazon Kindle | 1 | 03-09-2009 11:50 AM |
Swap "Prev Page" & "Next Buttons" ???? | kilofox | Amazon Kindle | 6 | 04-02-2008 11:39 PM |