mapping chapter and section headings to more appropriate nodes so that the TOC actually works. Now generates one HTML page per chapter.