View Single Post
Old 11-10-2010, 02:15 AM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by thrawn_aj View Post
Kindle books (which I can read in my mobipocket reader on a Palm device) do need these kinds of TOCs, but Calibre automatically generates (a rather good-looking) one when I convert from ePUB to MOBI by using the ePUB's built in TOC (if it has one).

BY the way, to the OP - the latest version of Calibre (0.7.27) has a feature to convert TO html (from anything). If you want to get a basic TOC, you might just steal the main framework from the generated html and just change some links programmatically (or by hand).
Yes, thrawn_aj:

I know that Calibre can and does generate an html toc when you convert from ePUB to mobi; but that first-generation mobi isn't saleable on Amazon, as Calibre's mobi's don't leave enough room in the headers for K4PC's second layer of encryption. And the html that Calibre generates is fine, but it is rather crowded with Calibre styles. It could be used, though, no two ways about it.

As I said somewhere--in this thread?--we're putting together a clip in-house to convert toc.ncx to an html toc w/appropriate entries in the spine and guide to facilitate clean conversion w/o all the CSS flattening. (Hopefully. ;-))

Hitch
Hitch is offline   Reply With Quote