Wondering how this compares to Emacs org mode, which support exports to PDF slides with beamer or plain PDF document, also support to export to lots of other format. It also allows running the embedded code and export the results. Of course embedding PDF is easy.