try toc and optimize heading ids