View Single Post
Old 06-09-2014, 11:00 PM   #685
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
I found a bug...

That is a change to the ePub and it should allow the ePub to be updated. That was just using the option "Remove broken TOC entries in NCX file".
Not something I've touched, so at least it's not something I broke! I'd suggest, right off the bat, making sure the output file isn't write-protected or otherwise a bad destination. If that's good, there may be other problems with the NCX file that changing the PlayOrders is not enough to fix. Perhaps if you could extract and attach that NCX file...?

Quote:
Originally Posted by JSWolf View Post
Now, can you come up with a mod to change those <span class="italics">, <span class="italic">, or <span class="bold"> into proper <em> and <b> of course with the proper close? That would solve one other pet peeve I have.
While I would LOVE that feature, it's simply beyond what I'm able to achieve as a "guest contributor" to the plugin. First of all, of course, there's the fact that CSS class names are inherently meaningless, which in turn renders them dramatically unique...so searching for class names is useless unless you can actually look at the class contents. That capability would be a real hassle to build, and even if we magically posit its existence, the only proper targets would be classes where the only property specified is the application of bold weight or italic styling. In my experience, published CSS sheets are seldom so cleanly made; there are huge amounts of over-specification to be found almost everywhere, and the rare exceptions are precious, valuable jewels.

In short, we'd be adding a lot of code for a minimal actual benefit, which really demonstrates the law of diminishing returns in dramatic ways. Such a feature would be more appropriate to an actual ebook editing program than a "simple touch-ups" plugin, and even there it's a perk that should come below many other CSS optimization features. I would truly enjoy having such a program, but I do not know of one in existence.
Rev. Bob is offline   Reply With Quote