enhanced TOC, so far so good, close #7
sort selected lines
enable footnote extension