Build PDF and HTML