Generate a pdf using clojure