remove blank pages in latex (pdf)

http://stackoverflow.com/questions/5422997/sphinx-docs-remove-blank-pages-from-generated-pdfs