same with pdf.output