generate PDFs inline