Thanks so far. But it's useless, to change just the doctype declaration. I have tried it. You have to edit the rest of the document too until it fits.
I found out, that "Line 1: whitespace expected" means, that Sigil wants an empty line instead of the doctype declaration. But then all the other messages follow.
So in short: Calibre converts old style html files, Sigil does not. They must be in UTF-8 format, you have to convert them first to the xml type and they have to be well formatted. Otherwise they will be rejected.
Or, as I have done: Create the epub with Calibre, then clean the CSS code in Sigil if wanted.
George
|