'Helpful context manager that writes a paragraph, a heading,
and the indents.
:param name: the section name that is written as heading.'

@contextmanager
def section(self, name):

    self.write_paragraph()
    self.write_heading(name)
    self.indent()
    try:
        (yield)
    finally:
        self.dedent()
