Hi! Here's a patch to allow table of contents to target a specified headline. I've added tests for HTML, ASCII, Markdown, and ODT export. I should have copyright assignment papers already on file. Does it work for anyone other than me? =)