Documented new PDF generation