Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-02-2013, 12:42 PM   #1
TheBean
Junior Member
TheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toys
 
Posts: 6
Karma: 5788
Join Date: Jul 2013
Device: none
White space inserted between paragraphs

Okay, I'm new to this, but this can't be right.

I have an ePub file which generally appears to be clean. When I load it in Sigil, it inserts white space (specifically, lf\b\b\b\b) between paragraphs (<h>, <p>, etc.)

It makes the HTML readable, but,of course, shows up in the file and on the device. I can't get it to stop. I created a set of saved search/replaces to clear them out and they just keep returning.

I'm sure there just some silly flag I didn't set, but I can't find it.

I'm using Sigil 0.7.2 in windows 7 64 bit.

please ... Help!
TheBean is offline   Reply With Quote
Old 07-02-2013, 12:56 PM   #2
mrmikel
Book Twiddler
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,001
Karma: 1424479
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Try using an unzip program to unzip the files making up the epub. Examine the files in any text editor.

Make sure you do NOT have HTML Tidy turned on in the preferences in Sigil. It is undesirable and can add things to the file. The Pretty Print setting is sufficient.
mrmikel is offline   Reply With Quote
Old 07-02-2013, 01:02 PM   #3
elibrarian
Connoisseur
elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.elibrarian never is beset by a damp, drizzly November in his or her soul.
 
elibrarian's Avatar
 
Posts: 97
Karma: 59964
Join Date: Dec 2011
Location: Ølstykke, Denmark
Device: Sony PRS-T1, iPad
Have a look at this thread:

http://www.mobileread.com/forums/sho...d.php?t=207480

Regards,

Kim
elibrarian is offline   Reply With Quote
Old 07-02-2013, 01:16 PM   #4
TheBean
Junior Member
TheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toys
 
Posts: 6
Karma: 5788
Join Date: Jul 2013
Device: none
I've read all the previous threads regarding this, but I still don't get it.

My final testing is with the Kindle simulator (Kindle Previewer) for windows and the white space shows up on that. I know it's there to make the HTLM readable, but it ends up in the completed file.

Give me a minute ... I'll try the playing with the Clean Source flags.
TheBean is offline   Reply With Quote
Old 07-02-2013, 01:24 PM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 8,931
Karma: 40404050
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The whitespace in the html code (that makes it readable) has absolutely nothing to do with with whitespace being rendered between paragraphs when viewing/reading (unless in the unlikely event you ARE using "white-space:pre-wrap" somewhere).

Margin between paragraphs is default. If you don't want it, you need to use styling (external, internal or inline) to tell it you don't want that default margin.

Create a stylesheet, link it to your html file(s) and add an entry that looks like:
Code:
p {
  margin: 0;
  text-indent: 1.2em;
}
That should get you started.

Last edited by DiapDealer; 07-02-2013 at 01:36 PM.
DiapDealer is online now   Reply With Quote
Old 07-02-2013, 01:39 PM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,105
Karma: 4791309
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by TheBean View Post
My final testing is with the Kindle simulator (Kindle Previewer) for windows
Your final test of an ePub is with something that does not read ePub?
Jellby is online now   Reply With Quote
Old 07-02-2013, 01:41 PM   #7
TheBean
Junior Member
TheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toys
 
Posts: 6
Karma: 5788
Join Date: Jul 2013
Device: none
Ahhhh, step 1 complete .... I created a file that works (almost). Yes, turning off all the "Clean Source" flags works! Now .. I'll investigate the previous comment regarding white-space: pre-wrap to see if I can keep the readability.
TheBean is offline   Reply With Quote
Old 07-02-2013, 02:05 PM   #8
TheBean
Junior Member
TheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toysTheBean shares his or her toys
 
Posts: 6
Karma: 5788
Join Date: Jul 2013
Device: none
DiapDealer, you're wonderful! I didn't have pre-wrap somewhere, I had it everywhere!
I had a friend of mine convert my Word doc into ePub using Pages. Apparently, pages puts a "white-spacere-wrap" at the beginning of every chapter.

I commented it out and I can not only read my HTML, but it shows up in my previewer correctly !!!!!!!!

Thank you all!
TheBean is offline   Reply With Quote
Old 07-04-2013, 08:04 AM   #9
Notjohn
Addict
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 212
Karma: 246332
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by Jellby View Post
Your final test of an ePub is with something that does not read ePub?
Many of us upload epubs to the KDP, and some of us don't sell the book(s) elsewhere. So yes, checking it out on Kindle Previewer could be a reasonable thing to do for some author-publishers.

Personally, I upload the epub to the KDP, let it convert, then download the *.mobi file to run it through Kindle Previewer.
Notjohn is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems removing white space between paragraphs Alda Sigil 30 06-27-2012 12:21 PM
How to remove white space between paragraphs for iPad? kabloooie Conversion 4 05-28-2012 05:11 AM
Create a space between some paragraphs Elle518 ePub 17 04-12-2012 04:21 PM
space between paragraphs gatorman Sigil 3 01-07-2011 10:17 AM
Ragged right / space between paragraphs Oldpilot Sigil 5 11-11-2010 07:59 PM


All times are GMT -4. The time now is 03:14 AM.


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