How to generate table of contents from headings in HTM files
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