1.On the Project tab, in the Project group, click Project Options.
2.In the Project Options dialog, in the left sidebar, under ePub eBook, click Contents.
3.Change the parameters you want.
Below is a description of the parameters in this section.
Specifies the way the Table of Contents page in the ePub eBook will be generated. For the TOC page, you can use a standard page generated by default, or you can use a custom HTML template. Also, it is possible to disable the TOC page.
The following settings are available for a specific TOC page generation type.
Standard TOC Page
Specifies the title to display on the generated Table of Contents page. To customize the style of the title line, you can use the appropriate Font and Paragraph buttons.
Specifies the step used for indentation of Table of Contents items on different hierarchy levels.
Specifies the style of heading items on the generated Table of Contents page. To edit the style of heading items, you can use the appropriate Font and Paragraph buttons.
Topic item style
Specifies the style of topic items on the generated Table of Contents page. To edit the style of topic items, you can use the appropriate Font and Paragraph buttons.
Table of Contents HTML Template
You can use the HTML Editor to provide custom HTML code that will be used for generation of the Contents page in ePub.
The HTML Editor allows you to insert text variables, color codes in the HTML notation, images from the media repository, and also to use special tags that define if a block of the HTML code should be included during the compilation depending on the selected build tags.
For more details on using the HTML Editor, you can visit this topic.
Please note that for generation of the Contents page, a special <%#TableOfContents%> variable is used that determines the place where the Table of Contents items will be inserted.
Copyright © 2007-2023 HelpSmith.com