DiapDealer Im finding it quite difficult so thanks for taking the time to help.To keep things simple its probably best I create a separate html ToC rather then muck about with my code. So let me reiterate and see if I've understood this right.
* I first unzip the original epub
* I create a separate html table of contents. With this code listed at the top
Is there any examples or links on how to format it right? I add this into unzipped epub folder.
* I then add the Guide code you listed above to my OPF file. -In my OPF there isn't a Guide section. There is
metadata,
manifest, and a
spine toc=ncx. So I add it between metadata and manifest?
And it will look like this
Code:
<guide>
<reference href="Text/your_file_name.xhtml" title="Table Of Contents" type="toc" />
</guide>
But then where do I put this?
Code:
<reference href="Text/your_file_name.xhtml#toc" title="Table Of Contents" type="toc" />
* I then rezipped the folder into an epub and use Kindle Previewer to convert it into a mobi and the ToC should work.
Is that right?!
Also, do I need to put some markers at the start of each html document (chapter page) so the ToC can find it?