TOC in Current Notebook

Creates or updates table of contents of the current notebook

Download

Author(s) : Onetastic ★, Unknown User
Category : TOC
Last Updated : January 21, 2023
Requirements : OneNote 2010 or above
Screenshot :

TOC in Current Notebook

Link generation mode: In "Resilient" mode links to pages and sections will still work even if they are renamed, however this mode is slow. In "Fast" mode links will no longer work if pages or sections are renamed, but it goes much faster
Link Generation Mode
Scope
Line prefix
Collapse
TOC Page Mode
Line prefix '-' : TOC entries are prefixed with a '-' character
Line prefix '§' : entries are prefixed with '§§', '§' and '-' characters
Collapse 'Yes' : All TOC outline levels are collapsed
Changelog :

January 21, 2023 (09FBA6) - Onetastic ★
Added bulleted and numbered list options

December 01, 2020 (35FF18) - Unknown User
Added options: - Scope can now be Pages, Sections or Section Groups. - Line prefix can be set to "none" - Line prefix can be set to '§' where these prefixes will be used SectionGroups §§ Sections § Pages - - Collapse option- "Yes" will collapse all TOC outline levels after creation

April 24, 2018 (6BB92B) - Onetastic ★
Now remembers the Link Generation Mode, Scope and TOC Page Mode settings each time it runs

December 27, 2016 (A0FC4A) - Onetastic ★
Added options for Fast vs Resilient link mode and ability to update existing TOC page.

July 30, 2016 (2C4E75) - Onetastic ★
TOC now uses indents for subpages so that it can be collapsed

June 20, 2016 (E1D14C) - Onetastic ★
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

November 07, 2014 - Onetastic ★
Updated to work with sections with a template

March 26, 2013 - Onetastic ★
Initial version

Comments

Name
Comment
Onetastic ★ - 2024-06-30
Hi tantric123, you can use Macro Editor to edit any macro to suit your needs
tantric123 - 2024-06-30
Are we permitted to modify this macro to change what it does?
Evie - 2023-05-19
It would be cool if it did the updates without reformatting styles applied after the table was created originally.