![]() |
#16 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Surely it's not beyond the wit of man for publishing tools to strip out unused CSS? This sounds like a job for a machine, not a person. Much less error-prone that way.
|
![]() |
![]() |
![]() |
#17 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
It's an extra step they apparently don't want to take. I'd say it should be a part of the default process: generate book, clean book. If Calibre can do it, it shouldn't be hard to automate it.
|
![]() |
![]() |
![]() |
#18 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sweetpea remembers
![]() ![]() Bloat steals resources from the customer, the network provider and reseller. Just because the 'pipe' is big and is included in many packages, does not give a license to waste. Trim those CSS and I might fit another book into limited device storage. Parce a smaller CSS and my battery might run an extra day. Using the CSS tools available to Calibre users, it takes just seconds. It is like the rumored Roll Royce technician, taking time to wipe fingerprints off the Radiator cap. He also checked that it was on firmly. It is about attention to details |
![]() |
![]() |
![]() |
#19 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,054
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
I would guess they leave the extra CSS because it does no harm (besides slightly increasing the epub size), while removing something that turns out to be useful later just leads to even more work. Better safe than sorry.
It also it makes it easier to create a book without being an expert. You can hire cheaper people to do the job. Last edited by rkomar; 04-11-2017 at 02:29 PM. Reason: Fixed "higher" |
![]() |
![]() |
![]() |
#20 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
As a recent horrible example, I purchased a bundle of James P. Hogan's books from Arc Manor/Phoenix Pick. Code of the Lifemaker opened slowly and the text displayed was a mess with larger font sizes overlapping on my KA1 so I opened it in Sigil to take a look. No stylesheet at all, a single HTML file with inline styles, file naming conventions that looks as if they simply packaged a MS Word save as html, etc. The Immortality Option and The Multiplex Man were no prettier.
About the only good thing to say is that the files were DRM free so I could edit them. Last edited by DNSB; 04-11-2017 at 11:42 AM. |
![]() |
![]() |
![]() |
#21 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I have run into a fair number of epubs where attempting to validate the stylesheet with W3C has failed. Quite a few of those give errors with either FlightCrew or epubcheck as well making me wonder about some publishers quality control. |
|
![]() |
![]() |
![]() |
#22 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,054
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Quote:
|
|
![]() |
![]() |
![]() |
#23 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
The whole purpose of a 'House' stylesheet is that you have a 'standard' selectors (and attributes) that every one uses (the parts of), when coding books |
|
![]() |
![]() |
![]() |
#24 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,054
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
|
Sure, but that's still more work than just leaving it in there as is in the first place and never worrying about it ever again.
|
![]() |
![]() |
![]() |
#25 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,273
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
OTOH, I would be very surprised if many publishers go back and edit their older ebooks on a regular basis. I've complained about spelling errors, chunks of paragraphs missing or inserted twice, weird styling -- who starts a chapter with a half line that uses a text size half the size of the rest of the paragraph?, images that use pixel sizing so any screen larger than 600x800 gives mini-images. So far I've found few publishers that actually pay attention and respond. Hmmmm... interesting the [size=+2] bb code[/size] does not seem to work. Last edited by DNSB; 04-11-2017 at 11:50 PM. |
|
![]() |
![]() |
![]() |
#26 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
Add HTML to folder Add CSS to folder Start process to clean exces information from HTML Start process to clean exces information from CSS Zip book into an epub. All with one push of a button. You only need to code the cleaning process once. And we all know that it's possible, just look at Calibre, who already has such a process. I doubt that if they change the HTML, they open an existing epub and change one of the multiple HTML files. I think they'd change the master after which a new epub is generated. |
|
![]() |
![]() |
![]() |
#27 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 171
Karma: 3517858
Join Date: May 2016
Location: Monterrey, Mexico
Device: Samsung Tab-3 7"
|
Just wanted to jump in here.
I generally use writer2epub to go from text to epub format, and it seems to throw in a style for everything except to make coffee. Oops. Just found this one. .make-coffee { perk-time: 3min, water-temp: 98deg; needed-level: desperate; } Okay. I'm convinced. |
![]() |
![]() |
![]() |
#28 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#29 | |
Just a Yellow Smiley.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,161
Karma: 83862859
Join Date: Jul 2015
Location: Texas
Device: K4, K5, fire, kobo, galaxy
|
Quote:
|
|
![]() |
![]() |
![]() |
#30 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,270
Karma: 10468300
Join Date: Dec 2011
Device: a variety (mostly kindles and kobos)
|
I don't call it lazy because you're talking about a company, an organisation that exists to make money. There may be lazy people working for that company but that's not the same thing.
Choosing not to do something because you can't see how it will make more money, is not, for a company, "lazy", it's doing what they do. It's the same reason I'm always surprised when people call companies "greedy" as if there's an acceptable level of profit at which they should stop trying. Quote:
And yes things change. We do things now we would never have dreamt of in the days of slower CPUs, smaller memory, less storage and restricted bandwidth. And that is entirely appropriate. Lest we forget the Y2K "bug" was really a space saving optimisation that lasted longer than it should have. Quote:
|
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
pagestyle.css extra / integrated in stylesheet.css / or not at all? | chaot | Workshop | 14 | 02-24-2017 11:10 PM |
Please help before i mess up more | Mad_Scientist | General Discussions | 12 | 10-27-2014 05:37 PM |
what a mess | dlsh1962 | Devices | 4 | 08-06-2012 04:54 PM |
Override ePub CSS with userStyle.css? | barium | Sony Reader Dev Corner | 11 | 07-16-2011 03:25 PM |
css pseudo elements and adjacent combinators in extra css? | ldolse | Calibre | 2 | 12-21-2010 05:09 PM |