Quote:
Originally Posted by kovidgoyal
I wasn't claiming it removes styles automatically, but, at least the last time I used it, it did make lots of changes automatically, simply by opening a book. This was actually one of the primary things I set out not to do when writing the calibre editor.
|
You mean the re-arrangement of the directory structure? That requires saving the file not just opening it. Open and close leaves the structure unchanged.
Given that I've seen a fair number of epubs which did not follow the specification (OCF 2.01)which says there must be a mimetype file in the root and a META.INF directory containing the container.xml file (OCF 3.2 adds 5 other XML files that can be stored in META.INF) while leaving other file locations up to the creator of the epub container file other than not storing them in META.INF, I am ambivalent about disabling Sigil's default directory structure given that it does logical separation of text, styles, images etc. which makes my life easier when editing. I would prefer if it was an option rather than being forced when saving but I would likely turn that option on.
Now if Sigil and calibre's editor made epubcheck mandatory rather than a plugin... Time to step back from that soapbox.