Generate valid first level table of content for ebook