create TOC and index page