![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
![]()
Hello
Used Microsoft .doc - created Epub on Barnes and Noble "Pubit" A few chapters have large white gaps (like page break where it's not) between a few paragraphs. I've removed all formatting. Redone the book. Nothing removes spaces. This book will not pass Validation. Used Calibre> remove spacing > now It Validates fine but still shows the gaps. Tried saving Word .doc as Web page filtered to make complete Epub in Calibre. Formatting looks perfect but Got more Validation errors than ever. Nothing seems to be working. Is there a way to remove those gaps with my original epub? This same file converted on Amazon Kindle works fine. The epub is the problem. Any help appreciated. Thank you Victoria |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,551
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Note (in the ePub) the class names of the html elements preceding and following the gaps:
<p class="blah-blah"> Open the css stylesheet and locate the class names from above. In the properties for those classes, look for "margin", or "margin-top", or "margin-bottom" attributes that are not zero (0). Make them zero, or reduce them or remove those attributes until the spacing looks how you want it to. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Thank you. I'll try it and let you know if I can do it.
Would I edit this in Calibre? I just opened the epub with Calibre viewer, and it looks perfect, just like the Kindle book did. It has gaps on Adobe Digital Reader and on my tablet Cool Reader (here the gaps are less noticeable than AD Editions) Could this be a reader glitch? To be sure, can you please tell me what program to use to search for the CSS tag you mentioned? Thank you so much !! Last edited by VictoriaSkyline; 06-12-2012 at 02:13 PM. |
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,680
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Give Sigil a go.
|
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,472
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
You could also look at this plugin for calibre: [Input Plugin] DOCX Input
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Thank you !
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Hi
I downloaded Sigil and it seems straightforward. My problem: It won't import my entire epub into Sigil because I think it's picking up the gap as a break or separate file. I can't get to the rest of the book. This is the html. I found <spam> and <div> which should not be there, correct? I can't save the file because Sigil is giving me an error when I try to save, after I deleeted that html: This is the location of first Gap and where Sigil stopped importing: <p class="pubitCssCls25"><span class="pubitCssCls24">Mona stood at the end of the aisle</span><span class="pubitCssCls24">.</span> <span class="pubitCssCls24">Sienna shoved the money into her hand</span><span class="pubitCssCls24">.</span> <span class="pubitCssCls24">"</span><span class="pubitCssCls24">T</span><span class="pubitCssCls24">here’s no one at the register.</span></p> </div> </body> </html> This is the error message when I tried to save: Error info: Cannot save file C:/Users/January/Desktop/LoveDreamsPublit.epub: ..\..\..\main_code\src\Sigil\Exporters\ExportEPUB. cpp(162): Throw in function void __thiscall ExportEPUB::SaveFolderAsEpubToLocation(const class QString &,const class QString &) Dynamic exception type: class boost::exception_detail::clone_impl<struct CZipExceptionWrapper> std::exception::what: Unknown exception [struct zip_info *] = Permission denied. Sigil version: 0.3.2 Runtime Qt: 4.7.0 Compiled Qt: 4.7.0 Platform: Windows SysInfo ID 144 Last edited by VictoriaSkyline; 06-12-2012 at 03:42 PM. Reason: additional information |
![]() |
![]() |
![]() |
#8 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Sigil 0.3.2 is totally outdated. You may want to download version 0.5.3.
Quote:
Quote:
You could try the following: 1. Rename the .epub file to .zip. 2. Extract the .html files and add them separately to a new Sigil ebook. |
||
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
What I mean by gap is there is a break between some paragraphs where it looks like a page break or end of chapter.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Where is the best site to download Sigil from? When I used Softonic I ended up with a toolbar addon and tons of browser ads. I managed to remove it.
Is there a safe download? |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,551
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Hi again
If I can view the source code as html on my website, and do not see anything out of order, what could be causing this? When I view the book on Calibre there are no gaps. The file I used to create a Kindle ebook is perfect, book works fine. Could it be Pubit conversion? Has anyone heard of this? |
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,680
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Before you update to a new version of Sigil, uninstall the old one. There were some issues upgrading on top of during the beta testing.
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,725
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Calibre is an excellent tool, but you may want to use ADE for testing purposes since most ebook reader manufacturers licensed ADE technology from Adobe. I.e. if it looks OK in the ADE desktop version, it usually looks OK on the actual devices. My guess would be that Pubit split the original .html file into sever smaller smaller files to avoid file size limitation issues and if your original single .html source file contained a top margin definition, it might have been carried over to the split files causing the "gap" issues. You can easily test this, by renaming your .epub file to a .zip file and unzipping the .html files. If the "gaps" occur at the end of an .html file, file splitting and/or style issues are causing the problem. Not necessarily, because Kindlegen and Calibre simply skip HTML code that Kindles cannot handle. Also Kindle source files don't have to be split. |
|
![]() |
![]() |
![]() |
#15 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jun 2012
Device: none
|
Hi
Thank you for the info. The gap is visible using ADE and Nook reader for PC. Here's the catch (frustrating). I can get this copy to Validate. But - when I create a perfect viewing copy using Mobi & Calibre, I get a long list of errors. It's a catch 22. Do I distribute a flawed copy with gaps that will validate or a perfect one that retailers won't carry because it won't validate. I found this: http://www.istonsoft.com First I'm going to try your suggestion of renaming to zip and see if I can spot anything. If not, I'll try the ebook creator on that site. I'll keep you posted. Thank you !! |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub validation error | adetutuijose | ePub | 12 | 01-14-2012 10:05 PM |
Epub Validation Error | DTurner | ePub | 6 | 09-12-2011 05:13 PM |
Epub validation Error | fiona86 | ePub | 3 | 06-25-2011 12:57 AM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 10:53 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 02:14 PM |