View Single Post
Old 02-06-2009, 04:41 PM   #61
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by Gudy View Post
Unless I'm missing something major, the whole mechanism seems to be completely b0rked in 0.4.133.
It appears to work just fine to me. I'm going to guess that the source you're converting from contains CSS with a more specific rule which is trumping your override rule's single-element 'p' selector. Try something like "html body p { text-indent: 1em; margin: 0; }". If that doesn't work either, open a bug on the calibre trac and attach a file which is failing to convert as expected.

Quote:
Originally Posted by Gudy View Post
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.
Hmm. I may agree with you, especially given situations like what I believe is your current issue. Paragraph marking is probably one of the formatting areas users most frequently wish to control, and might deserve a direct interface which can use use some sort of heuristics to detect normal paragraphs and style them accordingly.

Quote:
Originally Posted by Gudy View Post
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.
What sort of interface would you prefer to see?

-Marshall
llasram is offline   Reply With Quote