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 04-18-2018, 02:16 PM   #1
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Empty paragraph spaces disappear - MsWord to epub

In MsWord I have a list of review comments separated by empty paras. In epub the comments appear one on top of the other (the between spaces disappear). Is there a way to declare an empty space (para)?
Denwayz is offline   Reply With Quote
Old 04-18-2018, 02:21 PM   #2
deback
Book E d i t o r
deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.deback ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
In the .css file, add or change the numbers for the margin-top and margin-bottom codes to 1em each (or however much space you want between the paragraphs). An example is below. I used "paragraph" for the paragraph text, so find the class that's being used in your ePub file for the paragraphs and look for that class in the .css file and add the two lines below.

.paragraph {
margin-top: 1em;
margin-bottom: 1em;
}
deback is offline   Reply With Quote
Advert
Old 04-18-2018, 02:35 PM   #3
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Unfortunately, I know nothing about coding CSS.

That said, I don't want such empty spaces appearing after/before every para -- just in this 'section'. Do I now have to define MSWord doc as a 'section', and then get the CSS to see it (and only it) that way?
Denwayz is offline   Reply With Quote
Old 04-18-2018, 04:18 PM   #4
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Interesting -- if I put the spaces between paras in a column in a table, they are preserved.
Denwayz is offline   Reply With Quote
Old 04-18-2018, 06:51 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,572
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Denwayz - I recommend you do not use empty paragraphs to get vertical spacing, use before and/or after spacing in Word's Paragraph options, preferably via a named Style.

And that's a general recommendation, nothing to do with HTML, or ePub, I make the same recommendation if the document is to end up as ink on paper. A word processor (Writer, Word, Wordperfect etc) should not be treated like a glorified typewriter

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-18-2018, 07:44 PM   #6
Denwayz
Member
Denwayz began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Apr 2018
Device: None
Quote:
Originally Posted by BetterRed View Post
@Denwayz - I recommend you do not use empty paragraphs to get vertical spacing, use before and/or after spacing in Word's Paragraph options, preferably via a named Style.

And that's a general recommendation, nothing to do with HTML, or ePub, I make the same recommendation if the document is to end up as ink on paper. A word processor (Writer, Word, Wordperfect etc) should not be treated like a glorified typewriter

BR
Generally, I agree. I have a thousand pages of text here, and this applies to 2 of them. It is a unique situation (separating review comments), as I tried to describe. For example
##########
"A wonderful read!"
-- Julian Asskick

"Complete tripe!"
-- Katerina Asskick (wife of Julian)

"Oh, for God's sake, you two -- get a room!"
-- (Name withheld) Asskick (child of Julian & Katerina)
##########

The natural action is simply to leave an extra para between each review comment. One could certainly create two styles -- ReviewComments and NameOfReviewer, the second with defined points after, but it is counter-intuitive.

I wanted to learn about the converter so as to adjust to it. As it happens, this problem went away when I put all of the review text in a column. So this thread is now closed as far as I am concerned.

Last edited by Denwayz; 04-18-2018 at 08:14 PM.
Denwayz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty line between paragraph in epub on Pocketbook 626 nickie_twisp Calibre 2 11-30-2014 12:59 PM
Convert from PDF to ePub puts paragraph spaces mkelley Conversion 17 01-02-2012 07:48 AM
Paragraph spaces in ePub to Mobi conversion disrupts indent formatting markpearl Conversion 34 09-21-2011 02:42 PM
Huge Sentence and Paragraph Spaces EPub to Mobi Dasha Amazon Kindle 10 06-06-2011 06:43 PM
Paragraph indendation or spaces? enarchay Sony Reader 0 05-28-2009 05:18 AM


All times are GMT -4. The time now is 08:46 AM.


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