I’m trying to generate a table of contents for a book of legal codes. We’ve done this work by hand in the past, but this year I’m trying to reformat a few things so that we can use Indesign’s TOC function.
The entries in the TOC look something like this:
CHAPTER 1
Article 2
1005 [Description of code]…..5
1010 [Description of code]…..7
1015 [Description of code]….10
Each “Description of code” is unique text that does not appear anywhere else in the printed document. Obviously this complicates the TOC. I thought I could get around the problem by anchoring non-printing objects with the section number and text where the code numbers appear in the book. And while I’ve been able to get everything to appear in the TOC, the order isn’t right. The order of the first two levels (“CHAPTER” and “Article”) are perfect, but the third level sections appear in the wrong place and I can’t figure out why.
If my method is fundamentally flawed, is there another way to achieve the same result? Thanks for any advice you can offer!