more work towards table of contents, autopagebreak seems broken.
more work towards table of contents, fixed autopeagebreak
git branches and stuff