|
|
#1 |
|
Karma Kameleon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,386
Karma: 3934847
Join Date: Aug 2009
Device: iPad, iPhone 4S
|
ePub double spacing
What can I do? Lee |
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,483
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Do you have styles turned off in stanza?
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Karma Kameleon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,386
Karma: 3934847
Join Date: Aug 2009
Device: iPad, iPhone 4S
|
Turning styles off did the trick. Course, now even the styles portion I liked is off. I tried editing the book in Sigil, in my Calibre Library directory -- edited the styles in the ebook. But it didn't seem to "take". I'm a developer, so changing a stylesheet isn't something new to me.
.MsoNormal1 { margin-bottom: 0pt; margin-left: 0; margin-right: 0; page-break-after: avoid; text-align: left; text-indent: 0.3in } I set the bottom and top margins to 0, and still I can't seem to remove that "double spacing" issue. Turning off styles will work for now, but I'd like to just fix the styles. Lee |
|
|
|
|
|
#4 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,483
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
look for styles that set things like line-height padding, margin, whitespace
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#5 |
|
ePub Maker
![]() Posts: 90
Karma: 16
Join Date: Dec 2009
Location: Beijing
Device: iPad,iPhone,Kindle
|
seems you ePub is MS Word sourced.
could you post a piece of double spaced HTML code? I suspect the problem is the tag <p>, which MS uses instead of <br> |
|
|
|
|
|
#6 |
|
Feral Underclass
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,407
Karma: 26134395
Join Date: Jan 2010
Location: Yorkshire, tha noz
Device: 2nd hand paperback
|
<p> wouldn't do it unless there was one at the end of every line instead of just at the end of every paragraph. Rename the epub to .zip and extract one of the html files to see what style it is using.
At the beginning of each paragraph it will say something like <p class="calibre4"> . Then look in the .css file to see what it says for that class. Ones that affect line spacing are margin-top, margin-bottom, line-height and padding. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EPUB Line spacing | Jabby | Ectaco jetBook | 0 | 08-30-2010 11:43 AM |
| Strange Spacing in ePub in ADE | ngbabu | ePub | 2 | 06-12-2010 07:47 PM |
| Line Spacing on PDF to Epub conversion | poodlemama | Calibre | 2 | 05-03-2010 08:28 PM |
| Sony ePub spacing | Harryplopper | ePub | 10 | 02-23-2010 12:43 AM |
| .pdf file and Double Spacing output | holguinero | 0 | 10-05-2009 12:14 PM | |