My document has 6 levels of headings, and each of them is included in the Table of Contents. So far, so good: in the Navigator, it's nice to see all levels and be able to collapse and expand them as needed.
Now in the printed TOC (i.e., the one I'll insert at the beginning of the document), I'd like to be able to exclude certain levels of headings shown, e.g. levels 4 to 6, so that only levels 1 to 3 will be shown. At the same time, however, I'd like to keep the Navigator TOC complete.
Is it possible to have both sets of TOC – one to insert in the document, one for the Navigator?
excluding levels from the document TOC
Re: excluding levels from the document TOC
As far as I can see, this does not seem to be possible.
A possible workaround is as follows:
A possible workaround is as follows:
- Save the styles relevant for the TOC in a style sheet called "Full TOC".
- Remove the "include in TOC" from levels 4-6.
- Save the relevant styles in a style sheet called "Short TOC".
- Now you can switch between the two types of TOC easily by using import from style sheet, and then overwriting the styles
philip
Re: excluding levels from the document TOC
Thank you Philip, that is clever and makes sense!
Shmuel
Shmuel