Simple ebook generator in Clojure