Using a single source file, you can produce a successful display of information with a limited number of tags. These tags are:
The :userdoc. tag is always the first item in your source file. It identifies the beginning of an IPF file. This tag is a signal to the IPF compiler to begin translating the tag language.
The :euserdoc. tag is required as the last line of the file to signal the end of the tagged document.
Place the :docprof. tag at the beginning of your source file after the :userdoc. tag and before any heading definitions. Use the function of the toc (table of contents) attribute of the :docprof. tag to control the heading levels displayed in the Content window. For example, if you want only heading levels 1 and 2 to appear, the tagging is:
If no toc= value is specified, heading level 1 through 3 appear in the Contents window.
Not to be confused with window titles, the text string specified with a :title. tag is placed into the title bar of an online document. When the online document is displayed, the title appears on the title line of the main window. The tagging looks like this:
The maximum length of a title string specified with a :title. tag is 47 characters, including spaces and blanks.
The title tag provides a name for the online document but is also used for titles of Help windows. The title appears in the title bar of the main window. You usually place the title tag after the :docprof. tag.
Every file must start with a :h1. tag. Heading level sequences must not skip a level in the heading hierarchy. For example, you cannot have a heading level 1 tag (:h1.) followed by a heading level 3 tag (:h3.).
You must have at least one paragraph tag (:p.) and associated text to display a window.
The following figure shows an IPF source file.
The source file contains a :userdoc. tag, a :title. tag, a heading tag with a window identifier, a :p. tag, and the :euserdoc. tag.
.*:userdoc. :title.Endangered Mammals :h1 res=001.The Manatee .* :p. The Manatee has a broad flat tail and two flipper like forelegs. There are no back legs. The Manatee's large upper lip is split in two and can be used like fingers to place food into the mouth. Bristly hair protrudes from its lips, and almost buried in its hide are small eyes, with which it can barely see. .* :euserdoc.
Source File Structure