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

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 09-01-2013, 05:16 AM   #1
jakann86
Junior Member
jakann86 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite
Chapter Markers

Hi,

I'm really struggling with one part of the formatting for my Kindle book. I have completed an html file of the book and everything is working apart from one thing... chapters! I have a ToC at the beginning which works just fine... but if I click in the menu and select 'Go-To' I can only go to Cover, Beginning, ToC, the end. I can't go to the individual chapters directly. This also means that 'time remaining in chapter' doesn't show whilst reading the book. Can anyone help? I've tried creating a .ncx file and .opf file, but I must be coding them wrong because they make no difference whatsoever. Right now I have an html file that is sat on KDP in draft form and is working as stated above.

Thanks,

Jen
jakann86 is offline   Reply With Quote
Old 09-01-2013, 07:30 AM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,916
Karma: 40404050
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You're probably using the html file (only) to convert to a Kindle book. The html file knows nothing about the ncx or the opf file. If you have the opf file and the ncx file coded correctly, you need to use kindlegen/Previewer to convert the opf file--which will know where to find the html, the ncx and any other resource files (provided the paths provided in the opf are valid).

The other option is to create a valid epub and convert/upload that.

If you're just uploading files to KDP--and not doing the conversion on your own computer--I don't know the process well enough to assist.
DiapDealer is online now   Reply With Quote
Old 09-01-2013, 07:36 AM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,902
Karma: 4632610
Join Date: Dec 2010
Device: Kindle PW2
For the TOC GoTo menu item, you'll need to have a corresponding guide item in the .opf file:

Code:
<guide>
... 
   <reference href="Text/TOC.xhtml" title="Table Of Contents" type="toc" />
</guide>
For direct chapter selection, you'll need a valid .ncx file with links to each chapter. You can generate both automatically with Sigil, if your chapter titles have been formatted as headings (h1..h6), which are used by Sigil as chapter markers.
Doitsu is offline   Reply With Quote
Old 09-01-2013, 07:51 AM   #4
jakann86
Junior Member
jakann86 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite
Thank you

Thanks for the responses. I've uploaded the single html file... which worked apart from the chapters (the ToC does work in the go-to menu - it's just the chapters that aren't working). I've also uploaded a zip file with the html, opf and ncx files and that made no difference. I've tried creating these files with Sigil... no luck (yes, chap titles are formatted with headings). Tried Calibre... no luck. Editing them myself... no luck!

The problem is that, whilst I do understand html to some extent, I am not a programmer so some of the code is alien to me. I suspect there will probably be one stupid error somewhere that is causing these issues.

I use scrivener to write my books and have just tried exporting a mobi from there. When I load that onto my kindle it does allow access to the Chapters from the go-to menu. I didn't really want to do it this way because I prefer to have clean code that works exactly as I want it to... but this may be the best way for me to do it :/ It'll take me a while to configure Scrivener to do what I want it to in compile, but at least everything will be working on the kindle.

Thanks so much for your responses!
jakann86 is offline   Reply With Quote
Old 09-01-2013, 08:09 AM   #5
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 1,902
Karma: 4632610
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by jakann86 View Post
I've tried creating these files with Sigil... no luck (yes, chap titles are formatted with headings).!
Try creating the book (including HTML TOC) from scratch with Sigil using only the html file (and its .css file, if present):

1. Add the book .html file. Right-click Add Semantics > Text.
2. Add the cover image. Right-Click Add Semantics > Cover Image.
3. Press CTRL+T to generate the NCX file and select Tools > Create HTML Table of Contents.
4. Press F8 to enter the Metadata and you're done.

(If the HTML TOC is included in the main .html file, create a copy of the .html file and delete the TOC section, before following the above steps.)
Doitsu is offline   Reply With Quote
Old 09-01-2013, 09:32 AM   #6
jakann86
Junior Member
jakann86 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Kindle Paperwhite
Thanks Doitsu, I will give that a go!
jakann86 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
Lack of chapter markers on KT gers1978 Amazon Kindle 16 07-16-2012 03:18 PM
Chapter Markers in Kindle Chopman Conversion 5 04-26-2012 04:52 PM
Chapter markers: why oh why do so many books not have them? foghat Amazon Kindle 36 02-28-2011 05:52 PM
Chapter markers for chapters with the same name JohnFreeman Conversion 3 02-25-2011 04:14 PM
Chapter Markers? djulian Calibre 3 11-20-2010 11:15 PM


All times are GMT -4. The time now is 09:33 PM.


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