Quote:
Originally Posted by itimpi
It is normal for Calibre to store a HTML document as a ZIP file. It should pull all images into that ZIP as well a long as all the image files are local - is that the case here?
|
yes, i opened the zip file and found
content.opf
META-INF folder containing container.xml file
metainf file
mimetype file
the original html file
all the png files referenced in the html file
I set epub output in the preferences to 'flatten epub'
I went through the document and found some umlauts that needed conversion to the html code. The resulting epub validates with Sigil fine.
Now
I can view the epub document in calibre and it displays correctly with the images. But Stanza does not show the images. The firefox add-on displays the images properly. Book Reader1.23 renders the images fine. Adobe digital editions displays the epub and the images however the images stay overlaid on the text even when the pages are flipped. Adobe software is crippled.
Maybe epubs are not meant to be read on a mac.
I wish I knew why stanza was choking on the images and skipping them. The html, for example, is:
<br><IMG SRC="p544a.png"><br>
Also, sprinkled throughout the text are chapters with the word Chapter followed by the number. Calibre preferences->common options->Structure detection reveals this for the 'detect chapters at xpath':
//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prol ogue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']
No, I have no set off the word chapter with h1 or h2 or any html code. it is buried in the text.
It would seem that the word 'chapter' should work, but it does not. And no table of contents either .
Interestingly, adding a txt version of the document to calibre results in properly rendered
Chapters when converted to epub. The word chapter follows a page break and is bold and in a larger font.