Well - it would be enough - IMHO - to have one person to write an eBook using Lyx, and show the results... You'd be amazed

Unfortunately, I'm no C++ coder - so it may get ugly. However Lyx could export to HTML, then the conversion to ePub should not be hard to implement. I'll see if there is a scripting capability to take care of that.