use the toc directive to generate toc