View Single Post
Old 07-10-2011, 06:04 PM   #11
cjallan
Enthusiast
cjallan doesn't littercjallan doesn't litter
 
cjallan's Avatar
 
Posts: 31
Karma: 130
Join Date: Apr 2010
Location: USA
Device: Kindle 2
Quote:
Originally Posted by jackie_w View Post
I believe that Calibre is using the <h1> and <h2> tags in the html file to create your end-of-mobi TOC, not your hyperlink TOC. However, I stand to be corrected as I'm not a mobi user.

The <h1> tags in the html file are automatically created from the Word 'Heading 1' styles and <h2> tags from 'Heading 2' etc.

I'm attaching a small sample Word doc containing 'Heading 1' and 'Heading 2' titles. I have not created any inline hyperlink TOC.

I then saved it as Webpage-filtered, imported to Calibre and did a zip-to-mobi conversion using the settings I listed above in post #2. As far as I can see, in Kindle-for-PC, the mobi is doing what you asked, i.e. a pagebreak for every H1 but not for H2s. The 2-level TOC also looks correct.

I've attached the mobi. Am I not understanding something fundamental?

I looked at your Mobi file with the desktop Kindle Previewer:

It illustrates exactly what I've been trying to describe.

The TOC does, indeed, display 2 levels... H1 and H2.

BUT... the NCX view displays only 1 level... H2.

It does not display H1, it just ignores H1.

That has been my luck:

The TOC is just fine, it displays H1 and H2, but I can't make the NCX view display properly.

I can display H1 or H2, in the NCX view, but not both.

Thanks very much!

CJ
cjallan is offline   Reply With Quote