Export (0) Print
Expand All
Expand Minimize
1 out of 3 rated this helpful - Rate this topic

To automatically generate a table of contents

  1. Open a project (.hhp) file.
  2. Click Change Project Options, and then click the Files tab.
    ms670108.sb_cpo(en-us,VS.85).gif

    Specifies files, compiler, window, and other project settings.

     

  3. Click Browse, next to the Contents file box, and then locate the folder that you want to store your contents file in.
  4. In File name box, type a name (using .hhc for the file name extension) for your contents file.
  5. Click Open. The name of your contents file and the full path appear in the Contents file box.
  6. Select the Automatically create contents file (.hhc) when compiling check box.
  7. In the Maximum head level box, click the maximum heading level you want entries generated for in your contents file. For example, if you click 3 for the maximum head level, entries will be generated with <H1>, <H2>, and <H3> heading tags.

Note

If you make changes to a contents file that has been automatically generated, you will lose them if you compile the project again. To prevent this, make sure the Automatically create contents file when compiling check box is cleared before you recompile.

Related topics

About Creating Table of Contents Files

 

 

Send comments about this topic to Microsoft

Build date: 4/14/2012

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.