My editor has suggested that I create an annotated TOC by adding a few sentences of descriptive text under each chapter title entry in the TOC. This static text would fall between the chapter title entry and the listing of subheadings within the chapter.
While I could create this static text as a final step, manually formatting the TOC around it, I would much prefer to create this text so that it survives updating the book (and TOC).
Is this possible? The only thing I can think of is creating some markers of some sort and storing the static text as marker variables and then somehow having the TOC pick up that marker and display the text in the appropriate place, but I'm not sure if that would work, nor how I'd do it.
I welcome any suggestions for accomplishing this.
Not tested, but …
Conditional text following headings in the chapters (hide condition) could be reproduced in the TOC. If it comes through to TOC still as conditional, show conditional text in TOC only.
If you have the content in markers, you can do a list of markers. Be sure to create a custom marker type.
However, I do not believe one can create a list of paragraphs (a TOC) and markers together in one list. If you did both, your last step would be to move the marker entries into the TOC list. Of course, this is not preserved during book updates, but you would not have to rewrite the inserted text.