TOC in Current Page

Description : Creates a table of contents from heading in the current page and inserts at the top of the page

Download

TOC in Current Page


You need Onetastic Add-in
for OneNote to run this macro.
Download Onetastic
Author(s) : Omer Atay
Category : TOC
Last Updated : June 24, 2016
Rating :
(9)
Download(s) : 14048
Screenshot :

TOC in Current Page

No screenshot available for this macro.

Comments

Name
Comment
Omer Atay - 2016-06-26
janp: This is due to the way indents work. This macro currently doesn't handle indented headings properly. It will see the indented one before the parent one. Probably an update to the macro language is needed to fix this.
janp - 2016-06-25
(edit)
When creating a TOC I get an incorrect order of the corresponding text headings:
What is:
Heading A (header style 1)
    Subheading A.1 indented (header style 2)
    Subheading A.2 indented (header style 2)
Heading B (header style 1)
    Subheading B.1 indented (header style 2)
Heading C (header style 2)

becomes a "Table of Contents":
    Subheading A.1 indented (header style 2)
    Subheading A.2 indented (header style 2)
Heading A (header style 1)
    Subheading B.1 (header style 2)
Heading B (header style 1)
    Heading C (header style 2)
janp - 2016-06-25
When creating a TOC I get an incorrect order of the corresponding text headings:
What is:
Heading A (header style 1)
Subheading A.1 indented (header style 2)
Subheading A.2 indented (header style 2)
Heading B (header style 1)
Subheading B.1 (header style 2)
Heading C (header style 2)

becomes a "Table of Contents":
    Subheading A.1 indented (header style 2)
    Subheading A.2 indented (header style 2)
Heading A (header style 1)
    Subheading B.1 (header style 2)
Heading B (header style 1)
    Heading C (header style 2)