Systematic fallback workflow for PDF generation through pandoc, reportlab, and fpdf2 with installation verification