1 02/20/80  toc_on.compin
 2 
 3 Syntax:  .ifi toc_on
 4 
 5 
 6 Function:
 7 This compose macro turns on the automatic generation of a Table of
 8 Contents.
 9 
10 
11 Notes:
12 1) If this macro is used in <file>.compin, the desired Table of
13    Contents is accumulated in a segment named <file>.toc.compin.
14 2) The macro need be used only once for a document, but its repeated
15    use does no harm and the segment accumulating the Table of Contents
16    is not changed.  If <book>.compin is a "driver" file that inserts
17    <file>.compin as a section and both use this macro, the Table of
18    Contents for <file>.compin will be added to <book>.toc.compin.
19 
20 
21 Example:
22 The following is a sample 'book' compin segment named AAnn_book.compin.
23 
24         .ifi init_mpm "AAnn"
25         .ifi toc_on
26         .ifi fig_on
27         .ifi tab_on
28         .ifi AAnn.tp
29         .ifi AAnn.pf
30         .ifi s1
31         .ifi s2
32               .
33               .
34               .
35         .ifi AAnn_book.toc
36         .ifi AAnn_book.fig
37         .ifi AAnn_book.tab
38 
39 (END)