Previous | Contents | Index |
Separates the main index entry from the first subentry, the first subentry from the second, and the second subentry from the third. Used within the argument to the <X> or <Y> tags. For a printed book, the <XS> tag creates a reference to the page on which the tag appears. For a book you create for Bookreader, the <XS> tag creates a hotspot on the index entry with no page reference. (The <XS> tag is identical to the <XSUBENTRY> tag.)
<XS> (subentry-1[<XS>subentry-2[<XS>subentry-3]])
subentry
Specifies up to three subentries you want to appear in the index. The capitalization you use is the capitalization that appears in the index.
- <X>
- <XSUBENTRY>
- <Y>
Valid only within the argument to an <X> or <Y> tag.You can use a maximum of three subentries in the index.
The <XS> tag separates the main index entry from the first subentry, the first subentry from the second, and the second subentry from the third. For example:
<X>(main entry<XS>subentry-1<XS>subentry-2<XS>subentry-3)For a printed book, the <XS> tag creates a reference to the page on which the tag appears. For a book you create for the Bookreader, the <XS> tag creates a hotspot on the index entry with no page reference.
An index entry for a book you create for Bookreader that contains more than one reference to another section displays all the index selections in a separate pop-up window. See Producing Online and Printed Documentation for a graphic example.
The following example shows how to use the <XS> tag.
#1 |
---|
<X>(Vehicles<XS>use of) |
If the previous index tags appeared on page 3-1, they would create the following index entry under the heading "V":
Vehicles use of, 3-1The following example shows how to use the <XS> tag to create a "See also" entry.
#2 |
---|
<X>(File structure designators) <Y>(File structure designators<XS>See also Header blocks) |
If the previous tags appeared on page 1-3, they would create the following index entry under the heading "F":
File stucture designators, 1-3 See also Header blocksThe following example shows how to code multiple subentries for a particular main entry.
#3 |
---|
<X>(Debugger<XS>features of) . . . <X>(Debugger<XS>exiting from) . . . <X>(Debugger<XS>invoking) |
The previous tags produce the following entries under the heading "D":
Debugger exiting from, 1-7 features of, 2-4 invoking, 3-9The following example creates unnumbered index entries (because of the <Y> tag, which you use for unnumbered "See" and "See also" entries).
#4 |
---|
<Y>(CORP-AUTO report<XS>See Reports<XS>See also Cars) |
Regardless of what page the previous tags appear on, they produce the following output under the heading "C":
CORP-AUTO report See Reports See also Cars
Separates the main index entry from the first subentry, the first subentry from the second, and the second subentry from the third. Used within the argument to the <X> or <Y> tags. For a printed book, the <XSUBENTRY> tag creates a reference to the page on which the tag appears. For a book you create for Bookreader, the <XSUBENTRY> tag creates a hotspot on the index entry with no page reference. The <XSUBENTRY> tag is identical to the <XS> tag.
<XSUBENTRY> (subentry-1[<XSUBENTRY>subentry-2
[<XSUBENTRY>subentry-3]])
subentry
Specifies up to three subentries you want to appear in the index. The capitalization you use is the capitalization that appears in the index.
- <X>
- <XS>
- <Y>
Valid only within the argument to an <X> or <Y> tag.You can use a maximum of three subentries in the index.
The <XSUBENTRY> tag separates the main index entry from the first subentry, the first subentry from the second, and the second subentry from the third. For example:
<X>(main entry<XSUBENTRY>subentry-1<XSUBENTRY>subentry-2<XSUBENTRY>subentry-3)For a printed book, the <XSUBENTRY> tag creates a reference to the page on which the tag appears. For a book you create for Bookreader, the <XSUBENTRY> tag creates a hotspot on the index entry with no page reference.
An index entry for a book you create for Bookreader that contains more than one reference to another section displays all the index selections in a separate pop-up window. See Producing Online and Printed Documentation for a graphic example.
The following example shows how to use the <XSUBENTRY> tag.
#1 |
---|
<X>(Vehicles<XSUBENTRY>use of) |
If the previous index tags appeared on page 3-1, they would create the following index entry under the heading "V":
Vehicles use of, 3-1The following example shows how to use the <XS> tag to create a "See also" entry.
#2 |
---|
<X>(File structure designators) <Y>(File structure designators<XSUBENTRY>See also Header blocks) |
If the previous tags appeared on page 1-3, they would create the following index entry under the heading "F":
File stucture designators, 1-3 See also Header blocksThe following example shows how to code multiple subentries for a particular main entry.
#3 |
---|
<X>(Debugger<XSUBENTRY>features of) . . . <X>(Debugger<XSUBENTRY>exiting from) . . . <X>(Debugger<XSUBENTRY>invoking) |
The previous tags produce the following entries under the heading "D":
Debugger exiting from, 1-7 features of, 2-4 invoking, 3-9The following example creates unnumbered index entries (because of the <Y> tag, which you use for unnumbered "See" and "See also" entries).
#4 |
---|
<Y>(CORP-AUTO report<XSUBENTRY>See Reports<XSUBENTRY>See also Cars) |
Regardless of what page the previous tags appear on, they produce the following output under the heading "C":
CORP-AUTO report See Reports See also Cars
Used with the <XSUBENTRY> tag to create a main index entry and a subentry that has no page reference for a printed book and no hotspot for a book you create for Bookreader. Use the <Y> and <XSUBENTRY> tags for cross-references ("See" or "See also" entries) to other index entries.
<Y> (index entry[\attribute])
index entry
Specifies the main entry and subentries that appear in the index. The capitalization you use is the capitalization that appears in the index.attribute
This is an optional argument. It specifies the attributes that control the sorting of the index entry. You can specify a maximum of two attribute arguments. Each attribute must be a separate argument. The possible attributes follow:
- <X>
- <XS>
- <XSUBENTRY>
Invalid in informal code examples. Using this tag in a code example interferes with the formatting of the example.
Use the <Y> tag with the <XSUBENTRY> tag to create a main index entry and a subentry that has no page reference for a printed book and no hotspot for a book you create for Bookreader. Use the <Y> and <XSUBENTRY> tags for cross-references ("See" or "See also" entries) to other index entries. You specify the subentries by using the <XSUBENTRY> tag within the argument to the <Y> tag. See the <XSUBENTRY> tag description for more information.The <Y> tag subentries sort alphabetically at the top of the subentry list, before the <X> tag subentries; that is, cross-references to a topic are listed before its subtopics.
For information on how to use the MASTER, NOMASTER, BOTH, and <XSORT> attributes, see the <X> tag description.
The following example shows how to use the <Y> tag.
#1 |
---|
<X>(File structure designators) <Y>(File structure designators<XSUBENTRY>See also Header blocks) |
If the previous index tags appeared on page 1-3, they would create the following index entry under the heading "F":
File stucture designators, 1-3 See also Header blocksThe following example shows how to use the <Y> tag to create an unnumbered index entry.
#2 |
---|
<Y>(File structure designators<XSUBENTRY>See also Header blocks) |
The previous tags create the following output under the "F" entry:
File stucture designators See also Header blocksThe following example shows how to code multiple "See also" references for a particular main entry.
#3 |
---|
<Y>(Debugger<XS>See also Debugger commands; Debugging; /DEBUG qualifier) |
The previous tags produce the following output under the heading "D":
Debugger See also Debugger commands; Debugging; /DEBUG qualifierThe following example shows how to use the <Y> tag to sort the entry "Cat".
#4 |
---|
<Y>(Cat<XSUBENTRY>See also Feline\<XSORT>(Animals)) |
The previous tags produce the following output, where "Cat" is placed with the "A" entries after "Animals" rather than with the "C" entries:
Cat See also Feline
You can use these pages for notes.
Index | Contents |