View Single Post
Old 08-12-2015, 04:20 PM   #9
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)
Quote:
Originally Posted by Guv View Post
Shouldn't the original_epub just be a backup? Like something calibre doesn't touch unless it's specifically asked for? Or is there a way I can make it so that once I make my edits and am satisfied and save them, it updates the original_epub?
ORIGINAL_EPUB is indeed a backup -- it is a backup for conversions that went horribly wrong.
It is only created by automated processes, e.g. Polish, convert, where any conversion changes can be repeated by re-converting or re-Polishing. Thus, it makes sense to rebase all those changes off of the original.

Updating the ORIGINAL_EPUB is impossible -- conversions do something called "flattening" the CSS, which totally changes around the internal markup.

calibre does not do back-in-time versioning of your ebooks. The ORIGINAL_EPUB exists for only one reason -- to let you back out of a conversion that you are dissatisfied with. Once you are happy with it, delete the original.

Quote:
Originally Posted by cybmole View Post
I use modify epub plug in, not polish. The PI uses epub not original_epub when both exist. I would have expected polish to be configurable to do the same?
You would have expected wrongly.

Modify EPUB is, as you astutely pointed out, a plugin. It is neither created nor endorsed by Kovid Goyal, and the opinions of the PI creator are not to be taken as the opinions of Kovid.

If kiwidude thought Modify should act on the non-ORIGINAL, that is his call and third-party code can do whatever it wants. You can hardly expect parallel, similar features by other people to use kiwidude's opinions as an official specification for calibre's behavior.

For the record, I would consider Modify's behavior to be a bug.

Last edited by eschwartz; 08-12-2015 at 05:42 PM. Reason: typo
eschwartz is offline   Reply With Quote