A template for generating a report with chapters