Quote:
Originally Posted by Amalthia
Okay I tested this code.
p {
text-indent: 1em;
margin: 0;
}
and I tried
p {
text-indent: 1em;
}
and neither did anything to address the wide indent for every paragraph.
|
Unless I'm missing something major, the whole mechanism seems to be completely b0rked in 0.4.133.
I used "p { text-indent: 1em; margin: 0; }" in the CSS Override box with the "Remove spacing between paragraphs" option disabled, and didn't get any paragraph indent whatsoever. Running mobi2html on the resulting .mobi file showed all paragraphs as <p align="justify" height="1em" width="0pt"> which is... unexpected but matches the results, at least.
As a general usability complaint, I find it rather unacceptable that I need to resort to handcoding CSS in order to set something as basic as a paragraph indent in EPUB and MOBI files, especially since there is a far simpler way available for LRF files. In the same vein, having to use XPath expressions to detect chapter headings pretty much ensures that I will never use that feature in calibre but will instead hand-massage the html file before import.