![]() |
#46 | |
DRM hater
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 945
Karma: 2066176
Join Date: Jun 2010
Location: Michigan
Device: Nook ST glow, Kindle Voyage
|
Quote:
I tried your test RTF. It behaves the same way. As in, I cannot get it to convert to epub without either getting a bunch of extra blank spaces (Default), or without the original spaces being removed (remove blank lines option). To be sure, I uninstalled Calibre 0.7.33 and re-installed up to 0.7.34. I tried maximum line height 100%. I wasn't quite sure what this did since I didn't see much of a change. Your CSS code does the trick with a minor change. I ended up with this: p {margin-top: 0em; margin-bottom: 0em} which gives me the desired results: Retaining the original look of the text with occasional whitespace for scene change, etc. Thanks! I added it as the default...hopefully it doesn't cause problems with any other filetypes or anything. Adding blank lines between paragraphs is still a strange default in my book, but that's another topic ![]() This would make a better checkbox than the "remove blank lines" option IMO. That seems to be, if I understand right, add paragraph margins (blank lines), and then remove them...which results problem I started this thread about - all lines, even the ones that were there originally, being removed. I appreciate the help. A little extra CSS code is easier than converting to filtered html in Word first. Last edited by GreenMonkey; 12-22-2010 at 02:05 AM. |
|
![]() |
![]() |
![]() |
#47 | |
Enthusiast
![]() Posts: 30
Karma: 10
Join Date: Dec 2010
Device: PRS-650 ... ipad
|
![]() Quote:
i tried to figure out, but i get: <body class="calibre"> <div class="calibre1"> <p class="calibre2"> </p> <div class="calibre1"> <p class="calibre2">Like this in the RTF:</p> <p class="calibre2"> </p> <p class="calibre2">This is a paragraph</p> <p class="calibre2">This is paragraph two.</p> <p class="calibre2"> </p> <p class="calibre2">So if I have this in the RTF:</p> <p class="calibre2"> </p> <p class="calibre2">This is a paragraph</p> <p class="calibre2"> </p> <p class="calibre2">This is paragraph two.</p> </div> </div> </body> so, what's wrong about it? ...said by dr.ruth westheimer so, use SIGIL or unpack the epub and post the code. then everybody will know a bit. |
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extra paragraph line when converting from LRF | jhempel24 | Calibre | 3 | 08-18-2010 07:00 AM |
Stripping extra line returns | jwhayn | Sony Reader | 3 | 02-27-2010 06:46 PM |
Odd line/paragraph breaks in epub and FB2? | PKFFW | Calibre | 4 | 10-01-2009 07:49 AM |
No line breaks | ecpepper | Amazon Kindle | 3 | 08-09-2009 06:42 PM |
Removing extra line breaks | plemming | Calibre | 0 | 07-31-2008 07:50 PM |