Quil is awesome. I just wrote down a few things about creating PDFs: https://github.com/quil/quil/wiki/Create-PDFs