View Single Post
Old 12-22-2015, 08:43 PM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,701
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by roger64 View Post
To answer to DiapDealer, the EPUB3 produced with writer2xhtml 1.5.2. have an EPUB3 dc format line written in the metadata (opf file) which makes easy to identify their version.
It's not that easy for Sigil. As I said, it needs to be able to parse html and doctypes properly even when no opf is present.

I think you'll notice that if you open your original writer2xhtml epub3 output directly with Sigil, that there's no problem. It's only after calibre removes the doctype that Sigil corrupts it (note: I'm not finger-pointing. I'm well aware of Kovid's decision to not use doctypes in calibre's editor and I respect his decision).

This will not be an issue when Sigil is fully epub3-"aware."

Until it is, you should avoid doing anything other than the very simplest editing of epub3's using Sigil. And you should avoid opening files that have no doctype (unless it's an epub2) until that time as well.
DiapDealer is offline   Reply With Quote