Templates and table of contents: A smart, automated presentation structure