This puts each page into an wrapper and wraps page sections in
elements. The OutputHeading command is replaced with
OutputSection, which automatically detects heading level.
An outline was also generated from the section information. This can be
used for special link syntax later.
This puts each page into an wrapper and wraps page sections in