Updated pdf and html export.