View Single Post
Old 01-24-2012, 11:14 AM   #4
Whackatagin
Tweaker
Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.Whackatagin ought to be getting tired of karma fortunes by now.
 
Whackatagin's Avatar
 
Posts: 102
Karma: 324366
Join Date: Jan 2012
Location: Scotland
Device: Kindle / KOBO / PC
Hmmm! sounds a bit complicate. Simple is best when you plan to convert an epub to mobi.

You only really need <div> to open and close each xhtml file if it's basic fiction prose. i.e. one before the first <p> section, and one after the last. Note: not the cover page .htm, that's a bit different.

Actual paragraphs only need...<p class=MsoNormal> text in here </p>

&

<p>&nbsp;</p> for a paragraph break, i.e. blank line.

Simple coding yeilds better results for mobi conversion.

ps the little brush button (Tidy) will more often than not add superfluous tags and other bits and peices. Working with it off, if your making a file to convert, is advised. If you make a boo-boo you will get a "not well formed" error which will highlight the problem. You can then fix it manually, or automatic and clean up as required.
Whackatagin is offline   Reply With Quote