Quote:
Originally Posted by dgatwood
Those flags (-X -r -9 -D and "-x .DS_Store") are pretty much required for proper spec conformance.
|
Not really. -r is, because otherwise the files in the subdirectories are not stored. But the rest just make the epub file somewhat smaller. -9 simply uses highest compression level, -D does not include entries for the directories themself, and -X does not store additional file attributes. As far as I know, neither -X nor -D are required for ePub compliance. And "-x .DS_Store" may be required only if .DS_Store files exist (in a Mac?)
Anyway, for the problem is here, which is adding a specific file to an existing ePub, creating one from scratch is a bit of an overkill...