View Single Post
Old 08-19-2011, 06:16 AM   #1
Skeezix
Enthusiast
Skeezix began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jun 2011
Device: Kindle
TOC/chapter stop issues in .mobi

Okay, I've read the manual about TOCs and MOBI TOCs and the sticky here about TOCs and I'm still hopelessly confused. Here's what I want to do. I have an HTML file that I'm going to convert to MOBI. When I open it in my Kindle, I want it to start where the <h1> tag is. When I press the next section key, I want it to go to either the next <h2> tag or the next <p class="section> tag, whichever comes first. But in the TOC, I only want the <h2> tags listed. Is this even possible? If so, how do I do it?

Part of my confusion when converting this stuff is that there seems to be two places to specify where to detect chapters: one is "Detect chapters at" under "Structure Detection", and the other is the Levels 1-3 TOC under "Table of Contents", and I don't understand the difference or how they relate.

I also don't understand some of the options under "Table of Contents". Like with "Force use of Auto-generated Table of Contents": when I hover over it, it says it will use the source file's Table of Contents if it has one. Well, fine, but if my source file is HTML, how do I include a Table of Contents? Is there a special <div> ID I'm supposed to use, or something? And the "Do not add detected chapters to Table of Contents"... as opposed to what? How would it get chapters, if not by detecting them?

Sorry if I seem completely clueless. The fact is that I've been using Calibre for a while now, and everything else is fairly clear, but this TOC stuff is driving me to drink.
Skeezix is offline   Reply With Quote