Quote:
Originally Posted by JSWolf
Well the HTML from Book Designer uses <div>. But I'm guessing that mobi2HTML uses <p> on the output.
|
Yes, they do. What Nick can do is to detect the <head> section and place something like this in the text just after the head section and before the </head>. You can try it yourself to see what you might like. Once you make the change just use eBook Publisher manually on the opf file to build the file.
<style type="text/css">
p {text-indent:+2.0em; margin-top:0.2ex}
</style>
This will cause paragraphs to indent (maybe 1.0em would be closer to what Mobipocket does) and will set the margin between paragraphs to a small number. You can tweak these to whatever looks good. Mobi actually increased the distance between paragraphs a small amount (about 2 pixels) to do an exact match you might set margin-top:2px. Using a unit like em is better as it scales with text size.
Of course not everyone likes indent vs. space so an option --indent might be appropriate for mobi2imp.
Dale