Quote:
Originally Posted by Doitsu
BTW, I'm still puzzled about the "page number drift" that happened on my K3 after the first three pages. I most likely specified the page targets incorrectly or overlooked some other constraints. Maybe someone else who successfully implemented page numbers for a commercial Kindle book can shed some light on this.
Each chapter should start with an odd page number, you can see this for example, when you open chapter 3, which should start with page 7, but page 6 is being displayed. All .html pages are identical, except for the page target ids.
|
Okay but the epub code puts the page anchors after the chapter heading so the chapter heading is actually on the previous page (technically). So if they show you the page of the first character on the page, that is in fact correct.
So could you please try editing your epub to change things slightly for the start of every chapter. Try going from your current code where the actual page start location actually comes after the chapter heading to before it as follows:
from:
Code:
<body>
<h3>Chapter 1</h3>
<p><a id="id1"></a><b>==== PAGE 1 ====</b>
to
Code:
<body id="id1">
<h3>Chapter 1</h3>
<p><b>==== PAGE 1 ====</b>
or to
Code:
<body>
<h3 id="id1">Chapter 1</h3>
<p><b>==== PAGE 1 ====</b>
and let me know if once it gets converted by kindlegen and the apnx is split out if it will show up properly. If so, I think the off by one is simply a coding issue. If not, then we have a bug someplace.
Thanks,
Kevin