07-14-2010, 10:43 PM | #1 |
Member
Posts: 18
Karma: 54
Join Date: Jul 2010
Device: Nook
|
Extra space between some lines
I obtained a LIT file and had Calibre convert to EPUB while sending to my Nook. It gives huge gaps between paragraphs and, more oddly, extra space before the last line in a paragraph so it sinks into the gap a bit.
I re-converted, choosing "nook" on Profile, and checking the box to not put in a gap between paragraphs. But, there is still extra space before the last line in each paragraph. I installed Sigil as well, and there I can see that each paragraph is introduced with: <p class="MsoNormal"><span class="calibre4"> How can I make this format better? --John |
07-15-2010, 12:35 AM | #2 |
US Navy, Retired
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
The .MsoNormal and .calibre4 class are defined in the css file. Open the css file, under styles, in Sigil and see what the margins for those classes are. Adjust accordingly.
|
Advert | |
|
07-15-2010, 11:52 AM | #3 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
This has happened to me a lot with files I converted to lrf and then converted to epub.
I think that I converted them to lrf and then from rtf to epub to solve this problem if I had no other input source |
07-21-2010, 12:23 AM | #4 | |
Member
Posts: 18
Karma: 54
Join Date: Jul 2010
Device: Nook
|
Quote:
Code:
.MsoNormal { border-bottom: 0; border-top: 0; display: block; margin-bottom: 0; margin-left: 0; margin-right: 0; margin-top: 0; padding-bottom: 0; padding-top: 0; text-align: left; text-autospace: none; text-indent: 1.5em } .calibre4 { font-size: 0.8em } speakingtohe: what does the css look like for one of yours that works now? |
|
07-23-2010, 11:42 AM | #5 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
I am not up on css yet.
The problem with the dropped last line only occurred for me when I changed the justification from original to left aligned (look and feel). I found that this affects files that have been previously been converted to lrf or lit by calibre. Might be other reasons but this has been the only common factor I could spot. .lit have the dropped line (extra space between?) at the end of each paragraph and .lrf have a much smaller font size. Rather than take the time to figure out css which would probably have been smarter, I either converted to another format (.rtf when it would work, although some of the files would not convert to a useable .rtf (errors when viewing or trying to convert the rtf)) or went back to the original alignment) It isn't the nook reader IMHO as the files would look the same in any viewer and on my Sony 600. Hope this helps Helen |
Advert | |
|
07-23-2010, 11:46 AM | #6 | |
Resident Curmudgeon
Posts: 74,420
Karma: 129358310
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
07-23-2010, 01:47 PM | #7 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
My wife runs an entire 501(c)(3) charity that has standardized on Word documents for their teaching materials. All the professors and authors submit in that format and she converts to EPUBs for members who want e-books compatible with their e-readers. They all have class="MsoNormal" code in it, similar to the code discussed here. Last edited by Starson17; 07-23-2010 at 04:37 PM. |
|
07-23-2010, 04:30 PM | #8 | |
Reading...Since 1970
Posts: 610
Karma: 7819
Join Date: Jan 2010
Device: Nova Air C, Nova Pro, LifebookMars, BoyueT62+ Glowlight, NST, PB360
|
Quote:
Thats almost as bad as the assumption and judgement that some knucklehead posted about me being a PIRATE (arrrg) because I use Calibre...or was it Sigil. Can't remember. You should take a break from the Internets. Last edited by Guns4Hire; 07-23-2010 at 04:36 PM. |
|
07-23-2010, 09:00 PM | #9 |
US Navy, Retired
Posts: 9,863
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I find it odd that out of the 100s of thousands of books created for Microsoft's Reader that you're asserting that none of them were created using Microsoft Word.
|
07-23-2010, 09:04 PM | #10 |
Resident Curmudgeon
Posts: 74,420
Karma: 129358310
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I do apologize for making the assumption I did.
But, the problem is that Word sticks in styles all over the place and gets things pretty messed up when you convert to HTML. One way to sort of fix the problem is to save the book as RTF and load it into Bookdesigner and then export that as HTML. It is a lot easier to clean up the HTML output from Bookdesigner then the HTML output from Word. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Extra 20% off each title at eHarlequin | liquidanbar | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 01-16-2009 12:44 PM |
extra power for dr1000S | ec3008 | iRex | 14 | 12-20-2008 03:19 AM |
Extra AC charger for the eReader? | pluber | Sony Reader | 26 | 09-01-2007 12:36 PM |
24 Extra Hours in Space: What's an Astronaut to Do? | anotherchance | Sony Reader | 9 | 06-22-2007 02:22 PM |