Restructured PDF generation