ToC generation works for html