Update pdf-generation

Add new-page function for PDF generation. For multiple PDF-backends - @chc88 GH-426