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

Go Back   MobileRead Forums > E-Book Software > Sigil

Welcome to the MobileRead Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community today, you will have fewer ads, access to post topics, communicate privately with other members, respond to polls, upload content and access many other special features.

If you have any problems with the registration process or your account login, please contact us.

Hint: Don't have time to visit us daily? Subscribe to our main RSS feed to receive our frontpage posts at your convenience.

Notices

Sigil Sigil is an open-source WYSIWYG ebook editor designed to edit books in ePub format. Cross-platform (Linux, Windows and OS X)

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-15-2009, 05:01 PM   #1
mrmikel
Book Twiddler
mrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheese
 
Posts: 178
Karma: 1170
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-505
Epub mostly black - faulty epub!

I was reading Last Secrets, a John Buchan book, which lead me on to Mount Everest, a reconnaissance, which is available at Google books as an epub.

Knowing the book is going to have several errors, I bring it up in Sigil and all that shows are the early table of contents pages and the rest is all black.

I switch to code view and Google had set the background to BLACK!!!! Black text on a black background is not readable.

Editing background to white while in code view and it is just fine now.

Posting to help others who get a similar epub from Google.
mrmikel is offline   Reply With Quote
Old 09-15-2009, 06:21 PM   #2
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by mrmikel View Post
I switch to code view and Google had set the background to BLACK!!!! Black text on a black background is not readable.
This is unfortunately not a problem with the book from Google, but a problem with Sigil. As a recent poster encountered as well, CSS styles applied to particular flows of a book (e.g. the black background for covers on many Google epubs) will be applied to the entire flow being edited in Sigil.

While this problem will go away in 0.2.0, I'm thinking of implementing a stop-gap measure for the next (0.1.4) release. That is, to not copy flow-specific CSS into Sigil.

I'd like to hear other people's thoughts on this.
Valloric is offline   Reply With Quote
Old 09-16-2009, 09:42 AM   #3
mrmikel
Book Twiddler
mrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheese
 
Posts: 178
Karma: 1170
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-505
In favor of the stopgap

It seems there is almost no situation in which a black background is required in using a book. In fact, I think it is just an artifact of the scanning process. That part which is not book cover or paper is black.

So I can't see any reason why, for a black and white Sony Reader at least, that you couldn't just delete background colors altogether or set them to white and set text to black.

I see your problem...it is like merging a whole series of web pages and whatever is at the top is going to govern as far as CSS goes.

Maybe the solution is to comment it out and allow anyone editing to put it back at their leisure.

Last edited by mrmikel; 09-16-2009 at 01:35 PM.
mrmikel is offline   Reply With Quote
Old 09-16-2009, 10:25 AM   #4
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by mrmikel View Post
It seems there is almost no situation in which a black background is required in using a book. In fact, I think it is just an artifact of the scanning process. That part which is not book cover or paper is black.

So I can't see any reason why, for a black and white Sony Reader at least, that you couldn't just delete background colors altogether or set them to white and set text to black.
Oh I completely agree with this, but it still stands that the background is black only on the cover, and not on the rest of the book.
Valloric is offline   Reply With Quote
Old 09-16-2009, 01:37 PM   #5
mrmikel
Book Twiddler
mrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheese
 
Posts: 178
Karma: 1170
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-505
Didn't see your new comment

How about just commenting it out, then they could put it back bit by bit?
mrmikel is offline   Reply With Quote
Old 09-16-2009, 02:18 PM   #6
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by mrmikel View Post
How about just commenting it out, then they could put it back bit by bit?
Commenting it out would require recognizing the style. That would require writing a CSS parser, and if I do that, I may as well implement a CSS rewriter. And there's no point in doing that now that I've decided to switch Sigil to multi-flow editing.

So I'm probably going to implement the stop-gap. It would stay in place until 0.2.0, and so flow-specific CSS would not be copied.
Valloric is offline   Reply With Quote
Old 09-16-2009, 02:53 PM   #7
khalleron
Kate
khalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it is
 
khalleron's Avatar
 
Posts: 465
Karma: 2140
Join Date: Mar 2009
Location: Oregon, United States
Device: Sony PRS-505 RED, Sony Touch RED
Quote:
Originally Posted by Valloric View Post
Commenting it out would require recognizing the style. That would require writing a CSS parser, and if I do that, I may as well implement a CSS rewriter. And there's no point in doing that now that I've decided to switch Sigil to multi-flow editing.

So I'm probably going to implement the stop-gap. It would stay in place until 0.2.0, and so flow-specific CSS would not be copied.
I'm for that, although HTML newbie me figured out what was wrong and how to fix it, so I doubt it's that big a problem for those (pretty much everyone) more knowledgeable than I.

But one less step, sure.

Would this take care of the every paragraph having it's own unique class identifier problem? Such as this file.

I gave up on that one.

Kate
__________________
Kate
My Webpage
My Novel Blog

Avatar by the awesome MoeJoe!
khalleron is offline   Reply With Quote
Old 09-16-2009, 03:28 PM   #8
mrmikel
Book Twiddler
mrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheesemrmikel can extract oil from cheese
 
Posts: 178
Karma: 1170
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-505
Don't go with the flow!

I see what you mean now by your stopgap.

EPUB is not yet at a stage where eliminating the flow formatting is going to make much difference especially when the hardware can't even do justified text or follow backward links.

The stop gap sounds great.

When I knocked out all the flow statements the text became centered so I had to fix the css to text align: left.

I had to center the title after that but that was it.

If I use your software in the first place I will be doing far more than that anyway fixing misspellings, hard spaces and formatting around pictures.

Thank you for work on this great software. Before I was using XML mind which did the job, but took forever and made you jump back and forth to correct the simplest error.
mrmikel is offline   Reply With Quote
Old 09-16-2009, 04:48 PM   #9
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by khalleron View Post
Would this take care of the every paragraph having it's own unique class identifier problem? Such as this file.
I can't download the book you linked, so I'm not sure what you are getting at.
Valloric is offline   Reply With Quote
Old 09-19-2009, 11:57 PM   #10
khalleron
Kate
khalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it iskhalleron knows what time it is
 
khalleron's Avatar
 
Posts: 465
Karma: 2140
Join Date: Mar 2009
Location: Oregon, United States
Device: Sony PRS-505 RED, Sony Touch RED
OK, I re-downloaded a new copy, and it doesn't have the problem. The copy I had tried to work on had been run through Calibre - not formatted, merely added to the library, but it apparently added a lot of junk to the code.

I'll continue to work on the 'good' copy.
__________________
Kate
My Webpage
My Novel Blog

Avatar by the awesome MoeJoe!
khalleron is offline   Reply With Quote
Old 09-20-2009, 08:22 AM   #11
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by khalleron View Post
The copy I had tried to work on had been run through Calibre - not formatted, merely added to the library, but it apparently added a lot of junk to the code.
Wait, so calibre will mess with an epub file even if it's just imported into the library for transfering onto the Reader? I did not know this. Thanks for pointing it out.
Valloric is offline   Reply With Quote
Old 09-20-2009, 01:26 PM   #12
HarryT
eBook Enthusiast
HarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and graceHarryT herds cats with both ease and grace
 
HarryT's Avatar
 
Posts: 24,773
Karma: 43285
Join Date: Nov 2006
Location: UK
Device: Gen3, Opus, DR1000S, iPod Touch, Pocketbook 360, PRS-600, Kindle 2
Quote:
Originally Posted by Valloric View Post
Wait, so calibre will mess with an epub file even if it's just imported into the library for transfering onto the Reader? I did not know this. Thanks for pointing it out.
AFAIK it only does so if you do something to the book, such as edit the metadata. If you simply import it, I don't believe it will touch the file; it just stores it.
__________________
Harry
HarryT is offline   Reply With Quote
Old 09-20-2009, 01:42 PM   #13
Valloric
Creator of Sigil
Valloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankindValloric has exceeded all limitations known to mankind
 
Valloric's Avatar
 
Posts: 1,121
Karma: 17350
Join Date: Feb 2008
Device: Sony Reader PRS 505
Quote:
Originally Posted by HarryT View Post
AFAIK it only does so if you do something to the book, such as edit the metadata. If you simply import it, I don't believe it will touch the file; it just stores it.
That's what I thought it did. But for a moment there...
Valloric is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub vs lrf - why choose epub for sony reader? Mitchll Calibre 18 01-07-2010 05:39 AM
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 10:37 AM
Opus Opus and EPub (sorry wasn't sure if it should be here or on the Epub forum) Loopy65 Bookeen Cybook 22 09-05-2009 11:31 AM
Epub to LRF no problem, Epub to Mobi indexerror Rogier Calibre 3 06-09-2009 12:42 PM
Mystery Oppenheim, E. Phillips: The Black Box epub v1 7 jan 2009 mtravellerh ePub Books 0 01-07-2009 04:31 AM


All times are GMT -4. The time now is 02:35 PM.


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