View Single Post
Old 02-18-2008, 01:02 PM   #282
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by nrapallo View Post
Mobi2imp directly converts the .prc, so whatever TOC or chapter breaks/heading existed in the original, exist in the .imp.

I don't do any 'processing' of the HTML, only correct minor inconsistenies.

I could just add to the beginning of EVERY file:
Code:
<a name="toc"></a>
but that might BREAK any other pre-existing TOC. I'll have to think more about this.

Obvioulsy, you could choose to add it manually after using mobi2imp and double-clicking the .opf and use eBook Publisher for the manual build.

-Nick
Actually a missing toc entry already goes to the beginning of the file. It is only important when there is a toc present and it is not on the first page. Yes, like editing the html0 the .opf option would be a solution. I thought maybe you could detect the special mobi toc tags and just plug it in. <a name="toc" /> also works by the way.

Dale
DaleDe is offline   Reply With Quote