Nisus allows you to create different TOC styles and insert as many TOCs as you want.
The way you control what a TOC inserts is using an attribute on the headings that you want to include.
In your case the basic procedure would work like this:
- Create a TOC style "Main TOC" and set styles to be applied as desired.
- Create a TOC style "Chapter TOC" and set styles
- In your heading styles 1-4 set the attributes to include in relevant levels of your Main TOC. Make sure other headings are not included
- In the headings below the chapter level set them to be included in the relevant levels of your Chapter TOC
Unfortunately this doesn't quite work. If you use the same styles in all your chapters the Chapter TOCs will include all the sub-headers from all the chapters, not just the current chapter. It looks like one would probably need to create a Chapter TOC style for each chapter, and then separate heading styles for each chapter as well, with each set of chapter headings to be included only in its chapter TOC (and the Main chapter when relevant). If you have more than two or three chapters, this looks like it would get quite messy.
At that point I would suggest the alternative to create macros than turn the relevant "include in TOC" styles on and off as necessary (i.e., right before you want to insert the TOC), or just create a macro that creates the TOC itself. Nisus cross-references work well for such purposes.
So it looks like there is no easy solution.
