Make it work with pdf.css