| United States-English |
|
|
|
![]() |
HP Help System Developer's Guide > Chapter 2 Organizing and Writing a Help VolumeCreating a Topic Hierarchy |
|
The topic hierarchy within your help volume begins with the home topic. Each help volume must have one home topic. The first level of subtopics below the home topic may be entered with <chapter> or <s1>. Additional levels of subtopics are entered with <s2>, <s3>, and so on. The HelpTag markup language supports hierarchies down to <s9>. However, information more than three or four levels deep often leads many readers to feel lost. Within each topic that has subtopics, you should provide a path for the reader to get to the subtopics. This requires assigning unique IDs to all topics and creating hyperlinks within the body of each topic to its subtopics. Example. Suppose you want to create a hierarchy to match this simple outline:
Then the general outline of your help volume would look like this. (The body of each topic and IDs for the topics are not shown.)
You could have created an identical hierarchy by starting with <s1>s in place of the <chapter> tags, <s2>s for the next level, and <s3>s for the third level. The only difference -- not seen by the reader -- is the number of files created by HelpTag when you process the help volume. Again, indentation is used here to make it easier to see the structure of the help volume. You do not have to indent your files.
If you include a meta information section (<metainfo>), the home topic must follow it. Examples. Here's a home topic with a title and a single sentence as its body:
Here's a sample home topic that includes hyperlinks to its four subtopics:
To help users who may be new to hyperlinks, you may want to include a reminder to use F1 to get help on help.
Example. If the current topic is an <s1>, enter a subtopic using <s2>.
The second <s2> is also a subtopic of the <s1>.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||