View Single Post
Old 07-16-2013, 06:54 AM   #4
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,542
Karma: 6613969
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by warenjc View Post
I have Kindle E ink (four button w/navigation button in center.)

All books I download to my Kindle, start where they are supposed to start accept mine. They even "Go To" Beginning where they are supposed to. I use Kindlegen compiler. I load the content.opf file to Kindlegen from the OEBPS folder. But when I open my ebook on my kindle it always starts on the page PRIOR to the start page. Maddening. I believe everything is as it should be. What am I missing or what do I look for?

My start page is the first entry in the content.xhtml file. Prior xhtml files are the toc, reviews, title, and copyright xhtml files.

OPF/Guide:
<reference href="Text/content.xhtml" title="start" type="text" />

XHTML:
<body>
<h3 id="start"><a id="prologue"></a><span class="bold"><small>PROLOGUE</small></span></h3>

CSS:
h3 {
page-break-before: always;
}

Semantics OK at "text"

I am puzzled. I have extracted other books and the opf and xhtml coding are apparently set up the same way. The only difference I have found in one is the guide's title was "startup page".

HELP
Has your ebook several .xhtml files or just one? If it has several, then, does this code...

Code:
<body>
  <h3 id="start"><a id="prologue"></a><span class="bold"><small>PROLOGUE</small></span></h3>
...belong to content.xhtml file? Because according to your entry in the <guide> section "<reference href="Text/content.xhtml" title="start" type="text" />" your book will start at the BEGINNING of content.xhtml file AND NOT at id="start" (or id="prologue"). If you want that the book starts at id="start" then your entry in the guide section should be:

Code:
<reference href="Text/content.xhtml#start" title="beginning" type="text" />
(in "title" you can write anything; I wrote "beginning" but "start" also will work).

Regards
Rubén

Last edited by RbnJrg; 07-16-2013 at 12:34 PM.
RbnJrg is offline   Reply With Quote