View Single Post
Old 02-06-2009, 04:10 PM   #60
Gudy
Wizard
Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.Gudy ought to be getting tired of karma fortunes by now.
 
Gudy's Avatar
 
Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
Quote:
Originally Posted by Amalthia View Post
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.
Gudy is offline   Reply With Quote