View Single Post
Old 02-18-2008, 12:34 PM   #280
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
Quote:
Originally Posted by DaleDe View Post
Looks like mobi2imp is really coming along. How does it do TOC processing and chapter breaks. IMP needs a <a name="toc"></a> just ahead of the toc entry in order to get the jump to TOC to work properly (a choice on the customizable button). This is a hardcoded value. (That is another tip, by the way, for editing the html0 in BD.)

Dale
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
nrapallo is offline   Reply With Quote