Bucherrad eBook Compiler 1.0
A cross-platform ebook compiler
Bucherrad provides a domain-specific language for laying out and formatting ebooks. Bucherrad also allows you to embed Ruby source code in the text of the book which will be executed at render time.
Bucherrad will allow you to generate both epub and Kindle mobi format from the same source file (if Amazon Kindlegen is installed).