updated for asciidoc support and pdf