Commit | Line | Data |
---|---|---|
84f25a89 | 1 | .nr _0 \n(c. |
70e37822 | 2 | .\" @(#)index.me 2.9 (Berkeley) %G% |
6ac5b741 | 3 | .\" %beginstrip% |
70e37822 KB |
4 | .\" |
5 | .\" Copyright (c) 1988 Regents of the University of California. | |
6 | .\" All rights reserved. | |
7 | .\" | |
8 | .\" Redistribution and use in source and binary forms are permitted | |
9 | .\" provided that this notice is preserved and that due credit is given | |
10 | .\" to the University of California at Berkeley. The name of the University | |
11 | .\" may not be used to endorse or promote products derived from this | |
12 | .\" software without specific prior written permission. This software | |
13 | .\" is provided ``as is'' without express or implied warranty. | |
14 | .\" | |
84f25a89 | 15 | .de (x \" *** begin index entry |
799e5a57 EA |
16 | .if \n@>4 .tm >> (x, .z=\\n(.z |
17 | .ds |X x | |
18 | .if \\n(.$>0 \ | |
19 | . ds |X \\$1 | |
1b376901 EA |
20 | .\" please note these cases MUST be in this order |
21 | .ie !"\\n(.z"" \ | |
22 | \{\ | |
23 | . ev 2 \" if in a diversion, save & process later | |
799e5a57 EA |
24 | \!.(x \\*(|X |
25 | .rm |X | |
1b376901 EA |
26 | .\} |
27 | .el \ | |
7180e633 | 28 | \{\ |
7180e633 EA |
29 | . am %\\*(|X )x |
30 | . sp \\n(xsu | |
d52b8cf4 | 31 | . ti -\\n(piu |
7180e633 | 32 | .\} |
84f25a89 EA |
33 | .. |
34 | .de )x \" *** end index entry | |
799e5a57 | 35 | .if \n@>4 .tm >> )x, .z=\\n(.z |
7180e633 EA |
36 | .ie "\\n(.z"" \ |
37 | \{\ | |
38 | . ds |x \\n% | |
799e5a57 | 39 | . if \\n(.$>0 \ |
7180e633 EA |
40 | . ds |x \\$1 |
41 | . if "\\*(|x"_" \ | |
42 | . ig .. | |
43 | . am %\\*(|X .. | |
44 | . if \w"\\$2">(\\n(.l-\\n(.i-\\n(.k) \ | |
45 | . ti +\\n(xuu | |
84f25a89 EA |
46 | \\\\a\\\\t\\$2\\*(|x |
47 | ... | |
7180e633 EA |
48 | . rm |x |
49 | . rm |X | |
50 | .\} | |
6f6d9ee7 EA |
51 | .el \ |
52 | \{\ | |
799e5a57 | 53 | \!.)x \\$1 \\$2 |
1b376901 | 54 | . br \" if in a diversion, save & process later |
6f6d9ee7 EA |
55 | . ev |
56 | .\} | |
84f25a89 EA |
57 | .. |
58 | .de xp \" *** print the index | |
59 | .br | |
60 | .@C 2 | |
61 | .ls 1 | |
62 | .vs \\n(.su*\\n($Ru | |
63 | .fi | |
d52b8cf4 | 64 | .in +\\n(piu |
84f25a89 | 65 | .ds |X x |
799e5a57 | 66 | .if \\n(.$>0 \ |
84f25a89 EA |
67 | . ds |X \\$1 |
68 | .xl -(\\n(xuu+\w'...'u) | |
69 | .di |x | |
70 | .%\\*(|X | |
71 | .br | |
72 | .di | |
73 | .rm %\\*(|X | |
74 | .xl \\n($lu | |
75 | .rm |X | |
76 | .ev | |
77 | .nf | |
78 | .in 0 | |
79 | .ta \\n(.lu-\\n(xuuR \\n(.luR | |
80 | .|x | |
81 | .fi | |
82 | .in | |
83 | .rm |x | |
84 | .. | |
85 | .if \n(xu<=0 \ | |
86 | . nr xu 0.5i \" index undent | |
87 | .nr c. \n(_0 |