Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-15-2009, 04:01 PM   #1
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
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, 05:21 PM   #2
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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, 08:42 AM   #3
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
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 12:35 PM.
mrmikel is offline   Reply With Quote
Old 09-16-2009, 09:25 AM   #4
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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, 12:37 PM   #5
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
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, 01:18 PM   #6
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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, 01:53 PM   #7
khalleron
Kate
khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.
 
khalleron's Avatar
 
Posts: 1,683
Karma: 3165009
Join Date: Mar 2009
Location: Oregon, United States
Device: Nexus 7 2013, Kobo Aura H2O, Kobo Forma
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
khalleron is offline   Reply With Quote
Old 09-16-2009, 02:28 PM   #8
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,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
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, 03:48 PM   #9
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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, 10:57 PM   #10
khalleron
Kate
khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.khalleron ought to be getting tired of karma fortunes by now.
 
khalleron's Avatar
 
Posts: 1,683
Karma: 3165009
Join Date: Mar 2009
Location: Oregon, United States
Device: Nexus 7 2013, Kobo Aura H2O, Kobo Forma
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.
khalleron is offline   Reply With Quote
Old 09-20-2009, 07:22 AM   #11
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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, 12:26 PM   #12
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
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.
HarryT is offline   Reply With Quote
Old 09-20-2009, 12:42 PM   #13
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
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


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub, ePub, EPUB, warum blos ePub? flowoeB Lounge 5 11-27-2009 09:37 AM
epub to pdf faulty! cirerita Calibre 10 11-05-2009 06:14 PM
Mystery and Crime Oppenheim, E. Phillips: The Black Box epub v1 7 jan 2009 mtravellerh ePub Books 0 01-07-2009 03:31 AM


All times are GMT -4. The time now is 04:07 PM.


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