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