Creating output

Table of Contents

Generating text

Handling whitespace

Numbering things

Formatting numbers

Copying nodes from the input document to the output