hmmm, I just installed the latest 3.01 update to see if it would fix this, and I still have the same errors and it seems to have introduced a new one.
Now, in the Contents.html file I get the following error:
Error while parsing file ‘element “p” not allowed here; expected element “h1”, “h2”, “h3”, “h4”, “h5”, “h6”, “hgroup” or “ol”’.
It seems that the auto-generated table of contents is adding a page title using the paragraph tag:
TABLE OF CONTENTS
I’ve just checked an old set of source files and the Title is created using a List tag:
[b]
TABLE OF CONTENTS[/b]
Perhaps this is a bug that has crept into the Compiler, and it needs to be given a Heading tag?
The update does appear to have changed the way the id for each image is created - before it added the file extension as well as the name.
Now, only the name is in the id, but, because it is not unique when the same image is used multiple times, the validator is giving errors.
Calibre’s EBook Editor can edit EPubs directly, no need to unzip/rezip etc. The other way is Scrivener has a neat option “Save source files in a folder with EPub file”, that creates an unzipped source file folder you can edit in any editor and a command to compile the EPub for you from the modified source. See page 562 of the user manual (which also recommends Calibre’s editor)… If your final format in kindle then I think you will need to run kindlegen manually on the modified EPub…
Just wanted to ask if anyone knew whether this issue was something that Keith is aware of now, or whether I should post it in the Bug section of the forum?
It wouldn’t do any harm to make a bug post on the #id problem and also remind about the nav error (many people reported that so I’m sure it’s on the radar)…