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-21-2012, 10:39 PM   #1
DigitalNomad
Junior Member
DigitalNomad began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: None
toc works in Previewer, but not after publishing

The "Go to Table of Contents" works fine in Kindle Previewer. After i publish the same file to KDP, the resulting "demo" file's "Go to Table of Contents" is greeted out on the device and generates a "table of contents not defined" error in Previewer. Any suggestions?

I write the doc in Word, save as Web Filtered, then generate an opf and prc with Mobipocket creator. Since I have ie9, I then edit the .opf to include the guides and ncx. Open the opf in Kindle Previewer and everything works fine.

If I publish the resulting .mobi file, or if I Email it to my device, the "Go to Table of Contents" stops working.

Oddly, I published a completely functioning book in July. It worked fine on upload, but now when I mail the same file, the "Go to Table of Contents" doesn't function. Is there a difference between Kindle Previewer's generation and the KDP site's generation.

Thanks for any input,

Stu
DigitalNomad is offline   Reply With Quote
Old 09-24-2012, 06:38 AM   #2
Oldpilot
Groupie
Oldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with othersOldpilot plays well with others
 
Posts: 184
Karma: 2572
Join Date: Aug 2010
Device: Kindle
I can't reverse-engineer that process, but I can tell you what I do:

Rather than use Word's save as / export to html, I run the document through word2cleanhtml.com which has a free and rather good service online. Alas, it doesn't give you the html template that you will need, so you will have to do some research on how to open and close an html file, and preferably on incorporating a style sheet.

I then open the html in Sigil, a free and rather good software that has its own forum here. I use that to build an epub, which I upload to the KDP and also to Barnes & Noble and the other epub retailers.

(Not that there's anything wrong with MPC! But I haven't used it for years.)
Oldpilot is offline   Reply With Quote
Old 09-24-2012, 06:45 AM   #3
Tugger
Connoisseur
Tugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongueTugger can tie a knot in a cherry stem with his or her tongue
 
Posts: 91
Karma: 22222
Join Date: Jul 2012
Device: Kindle
I used to use Mobipocket.

I suspect you are creating a toc using Word. Stop doing that, remove that toc from your document.

Instead you create the TOC within Mobipocket. Suppose your chapter headings are Heading 2 in Word. Simply put h2 on the Mobipocket toc page. If you have two levels of heading it can support that too. For example h2 on the first line and h3 on the second line.

The toc is placed right at the start, after the cover. Not ideal, but it works.

I no longer use Mobipocket but it served me well for a while. I did not enjoy having to make the ncx file by hand when a book has 30 chapters.
Tugger is offline   Reply With Quote
Old 09-24-2012, 08:24 AM   #4
mncowboy
Wanderer
mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.
 
mncowboy's Avatar
 
Posts: 104
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
If you use styles for everything in the Word document, the generated toc works just fine for me.
The workflow I use is Word->filtered web page->Sigil->Kindle Previewer and it creates a mobi file with all the proper navigation.
In your case double check the location of your inline toc, and make sure the guide item truly matches this in your opf file.
Bob
mncowboy is offline   Reply With Quote
Old 09-29-2012, 09:36 AM   #5
DigitalNomad
Junior Member
DigitalNomad began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2012
Device: None
Well, THAT was frustrating!

Quote:
Originally Posted by mncowboy View Post
... and make sure the guide item truly matches this in your opf file.
Bob
It did match... however, this comment lead me to the issue. In my .opf file, my guide pointed to filename.html%23toc instead of filename.html#toc. I have no idea how it got the code for the # symbol, though I'm guessing user error.

Thank you all for the replies. Problem resolved.
DigitalNomad is offline   Reply With Quote
Old 09-30-2012, 08:37 AM   #6
mncowboy
Wanderer
mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.mncowboy ought to be getting tired of karma fortunes by now.
 
mncowboy's Avatar
 
Posts: 104
Karma: 472218
Join Date: Jan 2011
Device: Kindle 3, PaperWhite 2
Glad you found it!
Bob
mncowboy is offline   Reply With Quote
Old 10-15-2012, 02:02 PM   #7
SusanM
Bemused by possibilities
SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.SusanM ought to be getting tired of karma fortunes by now.
 
SusanM's Avatar
 
Posts: 58
Karma: 480244
Join Date: Jul 2012
Device: iPad3, Kobo
I really like word2cleanhtml. Nice online service.
SusanM 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
TOC not working in the simple previewer on the DTP site petercrowell Kindle Formats 2 05-13-2012 06:07 PM
Kindler previewer not recognizing toc.ncx file, my html toc, or the start point... petercrowell Kindle Formats 2 05-01-2012 08:14 AM
TOC works fine until adding a new cover? M4cc45 Conversion 0 02-27-2012 01:42 PM
Toc Works in Calibre not in Kindle Liet Conversion 5 12-28-2011 02:48 PM
TOC works in Previewer but not in Kindle? Lazer Kindle Formats 3 05-01-2011 03:30 PM


All times are GMT -4. The time now is 08:29 AM.


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