XRefHT32 - "Table of contents" dialog

"Document"

Enter in the box below the pathname of the HTML file to which you want a table of contents. You can also select a file by clicking on the browse button to the right of the box.

"Head levels"

The default values are 1 and 9, meaning that all headings will be included in the table of contents. (Note that only h1 through h6 are standard HTML.) Set other values between 1 and 9 as you wish; for example, set the first value to 2 to suppress an entry for a level-1 heading ("<h1>") used to display the title of the file. If the first value is greater than the second, no entries will be produced.

"HTML (*.htm)", "HTML Help (*.hhc)", "Text (*.txt)"

Check the "HTML Help (*.hhc)" radio button if you want to produce a table of contents for use by Microsoft's HTML Help Workshop. Check the "Text (*.txt)" radio button if you want to produce a simple text outline for import into a presentations package such as Microsoft PowerPoint. For the "HTML Help" and "Text" choices, the "Pattern", "Start ToC at", and "End ToC at" controls are irrelevant and will be disabled.

"Pattern"

The default is to use a simple built-in pattern for the table of contents. If you wish, enter the pathname for an HTML file giving another pattern in the box on the right. You can also select a file by clicking on the browse button to the right of the box. The pattern has no effect on the form of entries: it only determines the code that precedes and follows the block of entries.

"Start ToC at"

The value in the box below specifies a string of characters marking the end of the part of the pattern that should precede the new block of entries.

"End ToC at"

The value in the box below specifies a string of characters marking the beginning of the part of the pattern that should follow the new block of entries.

The part of the pattern between the two strings will be omitted from the output. This omission is useful when the pattern file already contains an old block of entries that should be replaced.

"Output"

Enter in the box below the pathname of the HTML file which you want to contain the table of contents. You can also select a file by clicking on the browse button to the right of the box.

Any two, or all three, of the files may have the same pathname. Use the same pathname for all three files to update a table of contents within a file.

"Omit filename from URL"

Check this box if you want to create a copy of the source file with a different name and with a table of contents to itself; that is, if "Document" and "Pattern" are the same, but "Output" is different.

"OK"

Click here to proceed with generation of the table of contents.

"Cancel"

Click here to return to the main XRefHT32 window without generating a table of contents.
Last updated February 6, 2008, by Tim Craven