To create a table of contents (TOC) manually for print output, you need to create a unique topic and insert a TOC proxy into it.
The following explains how to use the manual method.
- Add a new topic as you normally would.
At the top of the topic, enter a title for your TOC (e.g., "Contents").
Note: You should be careful about using any of Flare's h1 through h6 styles for your TOC title, unless you want it to also show up in the generated TOC. However, it is possible to configure your stylesheet so that certain h1 through h6 styles do not show up in the generated TOC. In the same way, it is possible to create other styles besides h1 through h6 and configure them so that they do show up in the generated TOC.
For more information see Determining Heading Levels for a Print TOC.
- Remove any unnecessary text after the topic title.
- Select the Insert ribbon. In the Proxy section select Proxy > Insert TOC Proxy.
The TOC Proxy dialog opens.
(Optional) From the Stylesheet class field, you can select a style for the TOC.
For example, you might create and use style classes if you want to generate multiple TOCs with different looks for each output. Otherwise, the generated TOC in the output will use the style settings from the parent MadCap|tocProxy style. You can create a style class for this purpose in the Stylesheet Editor. To do this, select the MadCap|tocProxy style and in the local toolbar click Add Selector to create a class. The class will then be available from this field.
Note: If you want to affect the look of the individual entries in the generated TOC, you can use the TOC1 through TOC9 styles (classes of the p style) in the Stylesheet Editor. For example, if you want to use blue font for the first-level headings in the generated TOC, you can change the font color setting on the p.TOC1 style.
See Using Styles to Determine the Look of a Print TOC.
- Click OK. The proxy is added to the topic.
- Click to save your work.
The auto-generate method is much quicker and easier than the manual method. The manual method is more flexible but requires you to perform a number of extra steps, such as creating topics, inserting proxies, and adding files to the outline TOC. So if you simply want to quickly create print output with generated TOCs, glossaries, or indexes, the auto-generate option might be best for you. But if you want more control over the placement and look of the generated TOCs, glossaries, and indexes, you should use the manual method.
Note: If you are creatingMicrosoft Word output, you must keep the output in a single Microsoft Word document. For more information about splitting content into multiple Microsoft Word documents, see Specifying Chapter and Page Layout Breaks.
Make sure you include this topic in the "outline TOC" that is used for the target you are generating. See Adding Print Topics to an Outline TOC.
After creating a topic for a printed TOC, you can perform tasks to affect the look of the generated TOC, as well as the headings that are displayed in it. See Using Styles to Determine the Look of a Print TOC and Determining Heading Levels for a Print TOC.