Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 8 Generating WinHelp > 8.13 Configuring contents for WinHelp > 8.13.2 Specifying heading formats and levels for contents > 8.13.2.2 Listing topics for contents with and without subheadings

#### 8.13.2.2 Listing topics for contents with and without subheadings

Suppose you use the same format for topics with subheadings and for topics without subheadings. The possibilities include:

All “book” entries

All “page” entries

Mixed “book” and “page” entries

No subheadings? You get “page” entries

Force “book” entries

All “book” entries

To list all such topics as “books” in the contents file, assign to the format a B (“both”) level: one of [HelpCntStyles] properties B1 through B9. Mif2Go creates a “book” contents entry and a subordinate “page” entry for each.

All “page” entries

To list all such topics as “pages” in the contents file, assign to the format a T (“topic”) level: one of [HelpCntStyles] properties T1 through T9. Mif2Go creates a “page” contents entry for each.

Mixed “book” and “page” entries

To list topics without subheadings as “pages”, and topics with subheadings as “books”, assign to the format a V (“variable”) level: one of [HelpCntStyles] properties V1 through V9. You can adjust the level numbers to fit the way you use your headings; this might take a bit of experimenting to get the effect you want.

No subheadings? You get “page” entries

When you assign V1 through V9, Mif2Go determines whether the format should be a heading or a topic, based on the existence of subheadings. However, a defect in WinHelp causes V entries without subheadings to be treated as though they were T. For example, a chapter heading for a single-topic chapter would appear as a “page” entry under the preceding chapter.

Force “book” entries

To list topics without subheadings as “books” (for example, if you have a single-topic chapter), you must assign a B level to the heading format instead of V.

> 8 Generating WinHelp > 8.13 Configuring contents for WinHelp > 8.13.2 Specifying heading formats and levels for contents > 8.13.2.2 Listing topics for contents with and without subheadings

| Mif2Go User's Guide: 8.13.2.1 Understanding WinHelp contents level numbers |  | Mif2Go User's Guide: 8.13.2.3 Using different names in contents for heading and topic |