Quote:
Originally Posted by pdurrant
OK, done. issue #174, with sample file showing the problem attached.
Perhaps it would also be a good idea to auto-fill the author and title metadata fields. The title from the file name, and the author from the current user?
|
Quote:
Originally Posted by Jellby
I would only do that if the user tries to save without setting them, and after asking if that is OK.
|
Jellby nicely points out the problem. I've intentionally left it up to the user to input the required metadata fields for validation (author, title, language). Sigil will not auto-fill these fields. The best it could do is inform the user that he left them blank, but I rejected that idea because it would quickly become annoying if you don't really care about this and are just making a quick epub for personal use.
This will have to wait until I write and integrate a fully-fledged epub checker that would (optionally) inform the user about
all the validation problems with his book, and not just this.
But the heading issue is different. An epub file with no headings is perfectly valid, and Sigil shouldn't make an
invalid epub from that.