adding rudimentary toc and styles to enable hiding of footnotes