Implemented PDF creation with weasyprint. PART II. Closes #27