View Single Post
Old 06-14-2019, 11:27 PM   #7
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,856
Karma: 169712582
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
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.
DNSB is offline   Reply With Quote