Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

8 Generating WinHelp > 8.13 Configuring contents for WinHelp > 8.13.2 Specifying heading formats and levels for contents > 8.13.2.1 Understanding WinHelp contents level numbers


8.13.2.1 Understanding WinHelp contents level numbers

In a WinHelp .cnt file, each heading line begins with a level number, 1 to 9, followed by the text to display. Each topic line includes the same, and adds an equals sign, followed by the reference string for the topic to be displayed. Mif2Go produces these lines for each format value in [HelpStyles] that starts with Topic and includes Contents. Mif2Go determines the type of line from the [HelpCntStyles] section where formatname=H for top-level headings, formatname=T2 for second-level topics, or formatname=B2 to create a second-level heading with a third-level topic of the same name immediately following:

[HelpStyles]

Heading 1=Topic Contents

[HelpCntStyles]

; format = H (heading), T (topic), or B (both), + level (1..9), as in:

; Heading 2=B3 which creates both a level 3 head and a level 4 topic

; format V adjusts itself to be either T or B, depending on subheads

; all formats here must be listed in [HelpStyles] with Contents set

ChapName=H1

Heading 1=B2



8 Generating WinHelp > 8.13 Configuring contents for WinHelp > 8.13.2 Specifying heading formats and levels for contents > 8.13.2.1 Understanding WinHelp contents level numbers