Part of any great help system is a Table of Contents (TOC) to help the user navigate through the topics. In this exercise we are going to use the project that we created from the last lesson, but add some navigability to the Reverb output by adding levels to our output. Let’s begin!
1. Open up the WEP project that you previously created by using the Windows Explorer when you go to File -> Open, or by using the Recent Projects panel in the Start Page
2. Click on the first FM file again, right click and then click Display Preview
3. Click on the very first heading in the preview window and then the Style Designer will appear in the bottom as shown:4. You will see that the level is automatically set to Auto-TOC* but for the purposes of this demonstration we are setting the Table of Contents level to 1
5. Notice again that when when change something in the Options pane, that this also makes the paragraph style bold to indicate that a change has been made
6. Repeat the steps to give Heading 1 a level of 2 and Heading 2 a level of 3
7. Save the project and click the generate all 3 gears located on the toolbar
8. Now your output should look something like this:
9. It looks good except that because this is a web output we don’t really need to have the chapter numbering. Never fear, ePublisher has a way to fix that as well.
10. Going back to the Options panel for each of the Paragraph Styles in the Style Designer locate the Keep paragraph numbering and the Keep paragraph numbering in TOC dropdowns
11. We are going to set both of those to Disabled and we are going to repeat this for all 3 paragraph styles we modified
12. Save and generate and now the output should look like this:
*If you are wanting more in-depth coverage of what the Auto-TOC entails, please refer to the documentation link or join one of our training sessionsTags: tutorial