Added some documentation to *_pdf_generate()