enable table of contents pages
cleanup toc / outline code, add section numbering
add doctype, toclevels and numbered to chronicles example