I do have 2 kind of sources that i need to be converted into ePub format which needs to have a compatibilty with as many ePub readers possible.
1) Each page is avaialble as JPG files
2) Text contents is availble as HTML files, which are not formatted, but just contain the plain text
3) TOC is available already in ncx format
1) For each page the background content is provided in one single JPG
2) The text contents is provided as HTML contents with CSS and other source files