Hmmm ... well, I like the options of
ebook-convert, but it doesn't seem to be converting HTML to OEB right. For one thing, the images in the HTML file, which used to be stored in content\resources\, are now stored there and then deleted because they aren't in the manifest, it says, and the resulting OEB has no images in the HTML file. Here's an output of an attempt to convert Cory Doctorow's book
Down and Out in the Magic Kingdom from HTML to OEB; it has a cover image at the beginning and three navigation arrows which are GIFs at the beginning of each chapter, and the conversion doesn't include them for some reason. I've highlighted the parts where this seems to happen in red:
Code:
1% Converting input to HTML...
InputFormatPlugin: HTML Input running on C:\ebooks\Doctorow_Cory\Magic\Cory_Doctorow_-_Down_and_Out_in_the_Magic_Kingdom.htm
Building file list...
IgnoreFile(u'C:\\ebooks\\Doctorow_Cory\\Magic\\Down_and_Out_cover.jpg is a binary file',)
Found files...
HTMLFile:0:a:C:\ebooks\Doctorow_Cory\Magic\Cory_Doctorow_-_Down_and_Out_in_the_Magic_Kingdom.htm
Parsing all content...
Parsing ../../../../../ebooks/Doctorow_Cory/Magic/Cory_Doctorow_-_Down_and_Out_in_the_Magic_Kingdom.htm ...
Parsing file '../../../../../ebooks/Doctorow_Cory/Magic/Cory_Doctorow_-_Down_and_Out_in_the_Magic_Kingdom.htm' as HTML
Referenced file '../../../../../ebooks/Doctorow_Cory/Magic/Next.gif' not in manifest
Referenced file '../../../../../ebooks/Doctorow_Cory/Magic/Top.gif' not in manifest
Referenced file '../../../../../ebooks/Doctorow_Cory/Magic/Previous.gif' not in manifest
Referenced file '../../../../../ebooks/Doctorow_Cory/Magic/Down_and_Out_cover.jpg' not in manifest
Generating default TOC from spine...
Packaging HTML files...
Rewriting links in OEB documents...
Rewriting links in c:\docume~1\admin\locals~1\temp\calibre_0.6.0b2_isdpmj_plumber\..\..\..\..\..\ebooks\Doctorow_Cory\Magic/Cory_Doctorow_-_Down_and_Out_in_the_Magic_Kingdom.htm
Rewriting links in c:\docume~1\admin\locals~1\temp\calibre_0.6.0b2_isdpmj_plumber\..\..\..\..\..\ebooks\Doctorow_Cory\Magic/Next.gif
Rewriting links in c:\docume~1\admin\locals~1\temp\calibre_0.6.0b2_isdpmj_plumber\..\..\..\..\..\ebooks\Doctorow_Cory\Magic/Down_and_Out_cover.jpg
Rewriting links in c:\docume~1\admin\locals~1\temp\calibre_0.6.0b2_isdpmj_plumber\..\..\..\..\..\ebooks\Doctorow_Cory\Magic/Previous.gif
Rewriting links in c:\docume~1\admin\locals~1\temp\calibre_0.6.0b2_isdpmj_plumber\..\..\..\..\..\ebooks\Doctorow_Cory\Magic/Top.gif
Rewriting links in TOC...
Rewriting links in guide...
34% Running transforms on ebook...
Merging user specified metadata...
Detecting structure...
Detected chapter: A note about this book, February 12, 2004:
Detected chapter: A note about this book, January 9, 2003:
Detected chapter: CHAPTER 1
Detected chapter: CHAPTER 2
Detected chapter: CHAPTER 3
Detected chapter: CHAPTER 4
Detected chapter: CHAPTER 5
Detected chapter: CHAPTER 6
Detected chapter: CHAPTER 7
Detected chapter: CHAPTER 8
Detected chapter: CHAPTER 9
Detected chapter: CHAPTER 10
Detected chapter: Other books by Cory Doctorow:
Auto generated TOC with 13 entries.
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Trimming 'content/resources/Next.gif' from manifest
Trimming 'content/resources/Down_and_Out_cover.jpg' from manifest
Trimming 'content/resources/Top.gif' from manifest
Trimming 'content/resources/Previous.gif' from manifest
Creating OEB Output...
67% Creating OEB Output
OEB output written to C:\ebooks\Doctorow_Cory\Magic\opf_output
Output saved to C:\ebooks\Doctorow_Cory\Magic\opf_output
I'm not sure what the deal is; I suspect I'm just not understanding something. But I don't see anything in the help that tells me why it's complaining about the manifest...