Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-10-2012, 05:43 PM   #1
griffitts
Junior Member
griffitts began at the beginning.
 
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?
griffitts is offline   Reply With Quote
Old 03-10-2012, 08:07 PM   #2
griffitts
Junior Member
griffitts began at the beginning.
 
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;}
griffitts is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove Indent? Baja Calibre 7 02-29-2012 04:47 AM
WTB: Ability to change indent without ticking 'remove spaces between lines' gweminence Calibre 9 08-27-2011 09:05 AM
remove indent from 1st line of chapter only cybmole Sigil 15 02-21-2011 10:50 AM
Remove Parargraph spacing jhempel24 Sigil 7 09-10-2010 06:26 PM
removing spacing between paragraphs WITHOUT touching indent? ferossan Calibre 2 12-24-2009 02:12 PM


All times are GMT -4. The time now is 06:34 PM.


MobileRead.com is a privately owned, operated and funded community.