Content Map in Current Section

Add a compact, mind map style TOC tree at the top of the current section. The tree contains links to all section pages and up three levels of headings per page. The connector lines between nodes are 'drawn' using special glyphs from a monospace font. To minimize user interaction, no UI is displayed.

Download

Author(s) : WetHat
Category : TOC
Last Updated : August 08, 2017
Requirements : OneNote 2010 or above
Changelog :

August 08, 2017 (485552) - WetHat
* Fixed incorrect graph 'drawing' which crept in after ForEach changed behavior (modifications to the array elements made in the ForEach loop where lost) * removed whitespace headings * migrated to new string APIs

May 14, 2017 (3E860F) - WetHat
Better monospace font used.

April 20, 2017 (2E7152) - WetHat
Minor cleanup; Only non-empty headings added to the map; If the first heading on a page is identical to the page title, it is not added to the map (unless it is more than 5 paragraphs away from the page top)

April 17, 2017 (251799) - WetHat
Initial Version

Comments

Name
Comment
jbles - 2023-06-28
Wondering how hard it would be to update this to include Section Group, then all sections in that group?
As is, it is very useful and thx for creating it.
WernerGg - 2021-10-11
Hello WetHead
Your macro "Content Map in Current Section" is exactly what everybody needs. Unfortunately its generated map is almost unreadable.
I suggest to arrange the headers per page below, not side by side, each page/subpage. All in all this would look like a standard table of contents with parts / subparts in Word or the like.
Regards
Werner Geiger
(Germany)
TomasFiers - 2017-05-12
Beautiful code and output!