1 02/20/80  tab_get_no.compin
 2 
 3 Syntax:  .ifi tab_get_no n
 4 
 5 
 6 Function:
 7 This compose macro generates the number of a table other than the
 8 current table.
 9 
10 
11 Arguments:
12 'n' is an integer; the number of the nth table relative to the current
13    table.
14 
15 
16 Notes:
17 1) The number of the nth table relative to the current table (e.g., -1
18    = first preceding, 2 = second following) is calculated and set into
19    the 'table' compose variable.  The form of the number is the same as
20    that generated by the tab macro (see tab.info.)  'table' is used to
21    refer to the desired table.
22 2) See tab.info, tab_on.info, and tab_index.info for related
23    information.
24 
25 
26 Examples:
27 The following lines reference the next three tables that will appear in
28 the text of an unsectioned document.
29 
30      .ifi tab_get_no 1
31      .ur Table %table%,
32      .ifi tab_get_no 2
33      .ur Table %table%, and
34      .ifi tab_get_no 3
35      .ur Table %table% below illustrate these results.
36 
37 Table 1, Table 2, and Table 3 below illustrate these results.
38 
39 
40 The following lines reference the two tables that have just appeared in
41 the text of Section 4 of a document.
42 
43      .ifi tab_get_no -1
44      .ur See Table %table%,
45      .ifi tab_get_no 0
46      .ur Table %table% above.
47 
48 See Table 4-1 and Table 4-2 above.
49 
50 (END)