Do not hardcode any paper sizes in templates (fixes #41)