Added rst2pdf mode