Copy link to clipboard
Copied
Hi -
I have created approximately 20 HTM files. Each HTM file contains heading tags (<h1>, <h2>, ...). We would like the "Contents" tab in the CHM file to follow the headings in the HTM file. Here is an example. Suppose the first HTM file contains the following
<h1>File1 Heading1</h1>
<h2>File1 Heading2</h2>
and the second HTM file contains the following
<h1>File2 Heading1</h1>
<h2>File2 Heading2</h2>
Then in the "Contents" tab of the CHM file we would like to see the following
File1 Heading1
File1 Heading2
File2 Heading1
File2 Heading2
When I edit the table of contents in RoboHelp it looks like I need to manually create the books and pages. That is going to be quite a bit of maintenance for us. Is there any way to automatically generate the table of contents from the headings?
Any help on this would be greatly appreciated.
Thank you -
Karen Ahmad
Copy link to clipboard
Copied
I haven't seen anyone publish a way of achieving this. Auto-create is based on folders in project manager rather than headings so that will not help you.
To get headings within topics you will need to create bookmarks. That is going to be a lot of work. The norm is H1 only as otherwise you end up with a massive TOC and it becomes self defeating as a means of navigation.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Thanks for your response.
I'm not sure if this affects your answer. But, the indenting in my original message did not stick when I posted it. I'll try illustrating again using bullets.
File1 Heading1
File1 Heading2
File2 Heading1
File2 Heading2
So, in the above example both of the Heading1 entries would be books and both of the Heading2 entries would be pages.
Any help on this would be greatly appreciated.
Thank you -
Karen Ahmad
Copy link to clipboard
Copied
The books are not based on topics or headings. Either you create them or auto create does from the folders.
The topics are based on the topic title, regardless of heading.
Have I understood?
See www.grainge.org for RoboHelp and Authoring tips