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