Macro Language Reference > Macros > Index > tindmk
  
tindmk
Description
Invokes the Create Simple Index dialog box for you to create either a simple index, or an index control stream. The control stream can then be used in conjunction with the tformat macro to generate and regenerate an index.
 
Example 159. Generate an index with cumulative group values
In this example, an index will be generated with the index references of groups 1 and 4:
groups 9
 
Example 160. Save an external index control stream
The example below shows how to save an external index control stream called index1 by specifying the keyword below in your control stream. This can then later be included in another document using include.
save "c:/index1.ix"
 
Example 161. Include an index file in an index
The example below shows how to include the index file generated by save or savesort in an index.
include "c:/index1.ix
Syntax
tindmk
Additional Information
Index control streams
An index control stream consists of various keywords. You can think of these in much the same way as other PTC ALD macros, which PTC ALD interprets by reading the control stream when you generate your index.
Below is an example of a standard index control stream created through the Create Simple Index dialog box, using the default formats and strings:
groups 1
index "ix1"
headings 1 level 0,"[Lethdstyle]"
level 1,"[ixLev1]"
level 2,"[ixLev2]"
level 3,"[ixLev3]"
level 4,"[ixLev4]"
level 5,"[ixLev5]"
nformat 0,"$g"
callout " "
sep ", "
rangesep "\-"
joinsep ", "
see ", see "
seealso "See also "
headingmap "_head_norm"
letterorder "_order_straight"