View Single Post
Old 01-19-2015, 11:17 AM   #14
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,110
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kovidgoyal View Post
@icallaci: That sounds rather fragile. What happens if the stylesheets use some non-class based selectors? And perhaps I'm not understanding your use case, but why not simply run remove unused css in each new book? Or is it that you not only want to remove unused css but also want your modifications to copy over from the previous book? In which case, I have to ask again, what about non-class based selectors?

@theducks: Sigil, at least, as far as I can see, only lists CSS classes, not arbitrary selectors, so unless you are looking at the result of a calibre conversion (and calibre automatically removes unused css anyway) I dont see how you could be using the Sigil report to debug CSS issues.

So it seems apart from word counts, it would be useful to have two additional reports, a list of CSS selectors usage (as opposed to just classes) and image usage?
Kovid: My 'Debug' is closer to a reverse engineer (and central clean) tool.
More in line with post 12, just not that format order

I just find the report a faster way, not the only way
theducks is online now   Reply With Quote