Quote:
Originally Posted by DaleDe
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
|
Thanks for the suggestion! This construct will work; getting it into the converted HTML will be another story.
I will implement (in version 7) switches for indentation '--indent' and 'no paragraph separation '--nopara'.
As it stands now, the default for eBook Publisher appears to be 'no' indentation and '1em' paragraph separation.
JSWolf, you would have to use two switches '--indent' (1em) and '--nopara' (0em) to achieve your desired results. Wait until I implement these options as my testing indicates they do work.
-Nick