View Single Post
Old 06-29-2016, 12:44 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The conversion pipeline actually does a lot more changes than necessary to format-shift, since it disambiguates styles and fixes some device-specific bugs.

Directly opening a DOCX or HTML in the Editor, for example, does a much more direct "conversion" to EPUB.
Mainly because Conversion is meant for end-users, to get the book onto the device as fast as possible, whereas the Editor is designed for people who care about the book internals and/or want to fine-tune the look and feel of the book.

Any such feature would never be implemented for Conversion, but could, arguably, be implemented as a tool or import mode for the Editor.

...

Rather than inventing an IMHO over-engineered styles wizard, I think most people who clean up ebooks use personal collections of regular expressions to find common patterns. Which can handle more types of fixes.

Is there anything that you feel could be done more easily than by using a regular expression (and possibly a python replacement macro)?

Last edited by eschwartz; 06-29-2016 at 12:56 PM.
eschwartz is offline   Reply With Quote