preparing config options for PDF generation.