View Single Post
Old 06-05-2014, 02:34 PM   #6
GMcG
Writer
GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.GMcG ought to be getting tired of karma fortunes by now.
 
GMcG's Avatar
 
Posts: 101
Karma: 590630
Join Date: Mar 2011
Location: Munich, Germany
Device: none
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
GMcG is offline   Reply With Quote