Determining Heading Levels for a Print TOC

When creating print output, you can determine which topic headings will be displayed at which level in the generated TOC. For example, even though all of your topics may use a heading style of h1, you might want some of those topic headings to display at the first level in the print TOC (acting as an h1), others at the second level (acting as an h2), and still others at the third level (acting as an h3). This can be determined via one of the following methods:

  • TOC Depth With this method, you can base the heading levels on the structure you create in the outline TOC. See TOC Depth Method.
  • Heading Styles With this method, the structure of the generated TOC is based on the heading styles that you use in your topics and the "mc-heading-level" property setting for that style. See Heading Styles Method.

You might even use both methods for your print output. Maybe you decide to use the TOC depth to determine the heading levels. But you also might use the mc-heading-level, setting it to 0 for certain styles (e.g., h3, h4, h5, h6) in order to limit the number of levels shown in the generated TOC.