View Single Post
Old 12-26-2012, 09:52 PM   #9
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,430
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Modifying source code and having your changes preserved through updates is easy. Just use bzr merge to update the source and it will preserve your changes, unless there is a conflicting change (which is unlikely since this part of the calibre code is pretty stable).

There is no shortcut to magically explode to html and repack to arbitrary format. You have to run a full conversion pipeline for that. You can do it for particular formats, see the tweak book function in calibre or the modify epub plugin, but in the general case a full pipeline run is required, as some output plugins depend on the normalization that occurs during a pipeline run.
kovidgoyal is offline   Reply With Quote