OneMore icon indicating copy to clipboard operation
OneMore copied to clipboard

Deeper Table of Contents - Combine "Add page with table of pages in this section" with "Insert table of headings on this page"

Open jques17 opened this issue 2 years ago • 5 comments

Problem to Solve

I am using the "Add page with table of pages in this section" to create table of contents at the Section->Page level. However, this reaches only up to the page names and sub-pages, not the contents of the pages. In my honest opinion, this feature would be more powerful if it could reach up to the heading level where the meat of the information is usually stored.

Currently, the workaround for this is to:

  1. Generate a main TOC with the "Add page with table of pages in this section".
  2. Generate an in-page TOC with the "Insert table of headings on this page" function.
  3. Manually copy and paste each in-page TOC to the main table of contents.
  4. When a note is added or updated, remember to update the TOC after taking down the notes.

However, there are some considerations for this workaround:

  1. This works perfectly for "fixed" notes which don't need any updating.
  2. This also works fine for smaller notes where the information stored is bite-sized(no headings, similar to flashcards).
  3. For larger notes however, most of the information to be accessed is stored inside the pages and is organized via headings. In this scenario, the notes are buried deeper into the structure of OneNote which means automation would have more utility in terms of time savings.
  4. Also for "dynamic" notes which are still being updated, adding and updating pages would mean spending some time to edit the TOC as well. This requires remembering which notes were updated after taking down the notes which is prone to human error.

New Feature/Solution

If possible, the solution would be to combine the "Add page with table of pages in this section" and the "Insert table of headings on this page" into one function where the "table of headings" would also be included in the main Table of Contents. To illustrate, this is the output of the requested feature upgrade:

image

Alternative Solutions

The current workaround for this is to:

  1. Generate a main Table of Contents with the "Add page with table of pages in this section".
  2. Generate an in-page Table of Contents with the "Insert table of headings on this page" function.
  3. Manually copy and paste each in-page TOC to the main Table of Contents.
  4. When a note is added or updated, remember to update the TOC after taking down the notes.

Additional Context

Provide any other context or screenshots about the feature request here.

THE FINE PRINT This is a hobby project that I started for myself. I'm happy to take requests and will promise to consider each one carefully but offer no guarantees that I will ultimately agree to their usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around then I will probably reject the request - you've been warned!

jques17 avatar Jun 30 '23 11:06 jques17

Sorry, my example did not format properly. Please refer to image below:

image

jques17 avatar Jun 30 '23 11:06 jques17

Yes, that would be really useful.
So in the Page 2 example, the headings from the Page 2 would appear before the pages that are under it?

I would have an option to limit the depth of headers to list, some of my set ups H1 might be OK, some downto H4 would be great.

I can see the ToC page getting pretty huge pretty quick.

jasonjac2 avatar Jun 30 '23 11:06 jasonjac2

Sorry I haven't been very active lately. I'm in "summer-mode" and spend more time outside IRL :-)

stevencohn avatar Jun 30 '23 11:06 stevencohn

Yes, that would be really useful. So in the Page 2 example, the headings from the Page 2 would appear before the pages that are under it?

I would have an option to limit the depth of headers to list, some of my set ups H1 might be OK, some downto H4 would be great.

I can see the ToC page getting pretty huge pretty quick.

I was actually on the fence whether to include the Headers inside the main pages. In my use case, my formatting is more of page one than page 2. But for the sake of the ease of implementation, I decided to include it. Having the option to customize would be great, but that would lead to more work to be done for Steven. Maybe that can be a long term goal. In the meantime, I believe the user can just avoid using headers in pages where they don't want to have extra bloat in terms of structure.

jques17 avatar Jun 30 '23 12:06 jques17

Sorry I haven't been very active lately. I'm in "summer-mode" and spend more time outside IRL :-)

No need to apologize. I am thankful enough to have discovered your add-in. Please enjoy your summer and your time outside! We can wait. Thank you again for making such a wonderful extension to OneNote.

jques17 avatar Jun 30 '23 12:06 jques17