Fix formatting, sort of

Well, the automatic numbering and ToC generation is nice. Too bad the ToC's links are broken.