Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-06-2014, 12:52 PM   #1
Alda
Zealot
Alda began at the beginning.
 
Posts: 104
Karma: 22
Join Date: Jun 2010
Device: none
Easy way to remove carriage returns between paragraphs?

Hi,

I have a manuscript that I'm converting to ebook format using Sigil. The original was written in block paragraph style, i.e. with a return between each paragraph. I would prefer a regular paragraph style - no spaces between them, and with an indent for each one. Is there any easy way to do that with a stylesheet, and if yes, could someone give me the css for that?

Thank you!

Alda

UPDATE: Never mind, I googled around and figured out how to do this using Calibre. I don't know how to delete this post so will have to leave it here, but no answer required.

Last edited by Alda; 11-06-2014 at 01:11 PM.
Alda is offline   Reply With Quote
Old 11-07-2014, 11:00 AM   #2
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Personally, I would keep Calibre out of the process, if you can find another way around.

If you have a double </p><p> tag, a simple search & replace can change them to a single one, for example.

The indent would be handled in the style sheet. For a plain <p> you might do this:

p {
margin-top:0.0em;
margin-bottom:0.0em;
text-indent:1.0em;
text-align:justify;
}

You can see (and are welcome to borrow or adapt) my style sheet at http://notjohnkdp.blogspot.com/
Notjohn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixing a document with too many carriage returns? bizzybody Workshop 3 12-22-2012 08:17 AM
Calibre extra unwanted carriage returns in PCB file conversion gragradownunder Conversion 0 05-12-2011 06:57 AM
Carriage Returns not translating oldbitcollector Sigil 2 04-21-2011 03:20 AM
Removing excess carriage returns Halk Calibre 5 05-17-2009 02:35 PM
Forcing carriage returns KindleHog Amazon Kindle 3 05-01-2009 01:14 PM


All times are GMT -4. The time now is 03:45 AM.


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