Content based TOCs

Some publications, especially looseleaf services, declare a TOC that associates a paragraph number, or some other fixed identifier with each TOC entry.

For example:

You can use TopLeaf to create a content based TOC as follows:

  • Make sure that the element being assigned to each TOC entry includes the paragraph number as a sub-element. If this is not the case, assemble a custom marker with the required structure and assign it instead.

  • The <tl:folio> elements will still appear in the TOC file, so you have to use the Content tab to suppress these folios.

  • Once the folios are suppressed you can map the internal structure of the <tl:title> elements to produce the desired appearance.