When creating print output, you 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>).
You can base the heading levels on the structure you create in the
How to use
to save your work.Note: If you create books in the
Note: What happens if you are using classes of heading styles and then select the "Use TOC depth for heading levels option"? For example, let's say you have classes of your <h1> and <h2> heading styles. Suppose you created h1.Special (with a blue font), and h2.Special (with a red font). Meanwhile the primary <h1> and <h2> styles both use a black font. In your topics, you've applied your heading style classes to some heading content. And in your outline TOC, you organized the structure like this:
Because you selected the option to use TOC depth for heading levels, some of the level 1 headings will become level 2 headings or even level 3 headings in the output. If you have headings where you used h1.Special but their level in the output was not affected (i.e., they remain as level 1 headings), they will keep the properties from the style class. In other words, they will stay blue. But if the structure of the outline TOC causes them to become level 2 headings in the output, they will take on the properties of the h2.Special tag—because the class has the same name ("Special") as its <h1> counterpart. Therefore, those headings will have a red font. However, let's say that your level 2 class was named something different (e.g., h2.Red). In that case, h1.Special headings that are pushed to become level 2 headings will instead use properties from the main <h2> tag. In other words, they will have a black font—not blue like h1.Special and not red like h2.Red.
Note: As an alternative to basing headings on the "outline TOC" structure, you can use styles. See Using Styles for Print TOC Heading Levels.