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-25-2012, 05:10 PM   #1
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
Sigil Adding White Space?

I exported to the EPUB format from Apple's Pages in iWork '09. The book looks great. All spacing is appropriate. But I wanted to remove a few pages from the spine so they could only be viewed via hyperlink. When I do the editing in Sigil and then save, I suddenly have ridiculously amounts of white space everywhere. If I re-export from Pages, it looks fine again (but the pages I was trying to hide show). It seems as if something is happening during the Sigil save...

Any thoughts here? I've done all the normal things in the CSS such as specifying 0 for margins and padding with not much luck.
beingnickb is offline   Reply With Quote
Old 07-26-2012, 02:55 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,087
Karma: 5658305
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Where do you see the white spaces? Do you see it in Code View?
Do you mean spaces or margins?

My guess is, that you see it in Code View. Than it is normal and is done to make the code more readable.
Toxaris is offline   Reply With Quote
Old 07-26-2012, 01:53 PM   #3
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
No, not in the code. When I view the EPUB in a reader. It makes no sense to me:

1. Fine after exported from Pages.
2. Not fine after saving from Sigil.
beingnickb is offline   Reply With Quote
Old 07-26-2012, 02:37 PM   #4
mrmikel
Color me gone
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,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Do you have Tidy on in Sigil?

Do some editing not in the spine and see if the spine editing is causing your problem.
mrmikel is offline   Reply With Quote
Old 07-26-2012, 02:43 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,802
Karma: 18701526
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Run Sigil without loading your ePub and turn Tidy off. Tidy can modify some things. Then close Sigil and rerun it with your ePub.
JSWolf is offline   Reply With Quote
Old 07-27-2012, 12:22 PM   #6
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
Yeah that didn't seem to work. It's okay. I think I am going to go a different route than the hidden pages so I will not need to even use Sigil.
beingnickb is offline   Reply With Quote
Old 07-27-2012, 12:42 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,802
Karma: 18701526
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Can you post an ePub before Sigil and the same ePub after Sigil saved it?
JSWolf is offline   Reply With Quote
Old 07-28-2012, 01:01 AM   #8
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
Sure. See attached.

EDIT: Attachments removed.

Last edited by beingnickb; 07-28-2012 at 01:48 PM.
beingnickb is offline   Reply With Quote
Old 07-28-2012, 06:38 AM   #9
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,253
Karma: 4801165
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Could you explain what you mean with "ridiculously amounts of white space everywhere"? Is it blank pages? Vertical space between paragraphs? Unjustified lines? Space between words?

I see nothing wrong at first sight opening the ePubs in the browser.
Jellby is offline   Reply With Quote
Old 07-28-2012, 06:56 AM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,588
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
Quote:
Originally Posted by Jellby View Post
Could you explain what you mean with "ridiculously amounts of white space everywhere"? Is it blank pages? Vertical space between paragraphs? Unjustified lines? Space between words?

I see nothing wrong at first sight opening the ePubs in the browser.
Ditto--what device are you using to view this, or what reader? I haven't spent a lot of time on it, but in ePUBreader they appear identical, so I don't see the issue either.

Hitch
Hitch is offline   Reply With Quote
Old 07-28-2012, 08:32 AM   #11
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: 9,412
Karma: 43171352
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The 'style="white-space:pre-wrap"' in all the <body> elements needs to go. Chuck it right out. ADE seems to be ignoring it for the most part (line-breaks), but Sigil's QTWebKit renderer doesn't. It's showing every line-break that Sigil's pretty-print feature is adding (Code View). I assume the ridiculous amounts of whitespace might show up in iBooks, too, since I believe it uses a WebKit renderer as well.

Last edited by DiapDealer; 07-28-2012 at 08:46 AM.
DiapDealer is offline   Reply With Quote
Old 07-28-2012, 01:38 PM   #12
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
Okay. I'll give that a shot. I am using iBooks, for the most part, to view it.
beingnickb is offline   Reply With Quote
Old 07-28-2012, 01:47 PM   #13
beingnickb
Junior Member
beingnickb began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2012
Location: Seattle, WA
Device: iPhone, iPad, MacBook Pro
Quote:
Originally Posted by DiapDealer View Post
The 'style="white-spacere-wrap"' in all the <body> elements needs to go. Chuck it right out. ADE seems to be ignoring it for the most part (line-breaks), but Sigil's QTWebKit renderer doesn't. It's showing every line-break that Sigil's pretty-print feature is adding (Code View). I assume the ridiculous amounts of whitespace might show up in iBooks, too, since I believe it uses a WebKit renderer as well.
This was the culprit.

Thanks all very much for your help and suggestions.
beingnickb is offline   Reply With Quote
Old 07-28-2012, 04:38 PM   #14
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 2,588
Karma: 14407087
Join Date: Apr 2010
Location: Phoenix, AZ
Device: Kindle2, iPad, KindleFire and NookColor
AHA. iBooks. Shoulda known.

Hitch
Hitch is offline   Reply With Quote
Old 07-28-2012, 04:40 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,802
Karma: 18701526
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by Hitch View Post
AHA. iBooks. Shoulda known.

Hitch
Sigil produces ePub. So when talking about iBooks, it belongs in a separate forum section totally unrelated to ePub or Sigil.
JSWolf 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 01:21 PM
How to remove white space between paragraphs for iPad? kabloooie Conversion 4 05-28-2012 06:11 AM
Tabs or White Space? anamardoll General Discussions 57 06-13-2011 03:32 PM
puzzled by white space above chapter number cybmole Calibre 13 01-16-2011 03:20 PM
Removing unwanted white space JayLaFunk Sigil 4 03-19-2010 12:33 PM


All times are GMT -4. The time now is 12:34 PM.


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