|
|
#1 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Nook
|
Remove spacing and indent, but not always
I've been converting from html to epub. I use the remove spacing between paragraphs option and the default indentation. Works great, 99% of the time. However, sometimes I may not want the line removed or the paragraph indented or both. Is there some sort of markup I can use that will tell Calibre to skip this paragraph when indenting and/or removing blank lines?
|
|
|
|
|
|
#2 |
|
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Nook
|
Got to messing with it and actually made it work by coming at it from the other direction. I unchecked remove spacing from paragraphs and am using this in my stylesheet:
Code:
p {text-align:justify; margin-top:0em; margin-bottom:0em; text-indent:1.5em;}
blockquote {text-align:justify;}
h1,h2,h3,h4,h5,h6 {text-align:center;}
.indent {text-indent:1.5em;}
.noindent {text-indent:0em;}
.center {text-align:center;}
.spaceabove {margin-top:1.25em;}
.spacebelow {margin-bottom:1.25em;}
.spaceboth {margin-bottom:1.25em; margin-top:1.25em;}
|
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Remove Indent? | Baja | Calibre | 7 | 02-29-2012 05:47 AM |
| WTB: Ability to change indent without ticking 'remove spaces between lines' | gweminence | Calibre | 9 | 08-27-2011 10:05 AM |
| remove indent from 1st line of chapter only | cybmole | Sigil | 15 | 02-21-2011 11:50 AM |
| Remove Parargraph spacing | jhempel24 | Sigil | 7 | 09-10-2010 07:26 PM |
| removing spacing between paragraphs WITHOUT touching indent? | ferossan | Calibre | 2 | 12-24-2009 03:12 PM |