View Single Post
Old 05-02-2013, 01:44 PM   #4
virtualritz
Junior Member
virtualritz began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Cybook Odyssey
Quote:
Originally Posted by theducks View Post
Calibre does SIMPLE format changes. You found them both.
It doesn't make them correct. It should do either (indent or add spacing between, not both). The issue with the 1st paragraph is independent of that.
Quote:
Generally, a simple First Paragraph trick (h3 + p {text-indent: 0; } is unreliable as it assumes the first paragraph always follows a h3 (in my example) tag.

You need to hand edit the first paragraph CODE and create a 'firstparagraph' style (could be much more than just a No Indent )
Only if I want the compact style. If I want the 1st style no paragraph ever gets indented but all have a line of spacing added.

For the other case, about 75% of the books I have already come with correct compact paragraph formatting. The 1st paragraph is unindented and following paragraphs are indented but not uniformly.
This non-uniform indentation ist what I wanted to use Calibre for to fix.

Good heuristics would detect this (the existing indentation) and just unify the indentation amount, instead of adding it to paragraphs that don't have it already.

.mm
virtualritz is offline   Reply With Quote