fixed bug in 2.6 caused by bizarre semantics of .am directive
[unix-history] / usr / src / share / me / index.me
CommitLineData
84f25a89 1.nr _0 \n(c.
1b376901 2.\" @(#)index.me 2.5 %G%
6ac5b741 3.\" %beginstrip%
84f25a89 4.de (x \" *** begin index entry
1b376901
EA
5.\" please note these cases MUST be in this order
6.ie !"\\n(.z"" \
7\{\
8. ev 2 \" if in a diversion, save & process later
9\!.(x \\$1
10.\}
11.el \
7180e633
EA
12\{\
13. ds |X x
14. if \\n(.$ \
15. ds |X \\$1
16. am %\\*(|X )x
17. sp \\n(xsu
18.\}
84f25a89
EA
19..
20.de )x \" *** end index entry
7180e633
EA
21.ie "\\n(.z"" \
22\{\
23. ds |x \\n%
24. if \\n(.$ \
25. ds |x \\$1
26. if "\\*(|x"_" \
27. ig ..
28. am %\\*(|X ..
29. if \w"\\$2">(\\n(.l-\\n(.i-\\n(.k) \
30. ti +\\n(xuu
84f25a89
EA
31\\\\a\\\\t\\$2\\*(|x
32...
7180e633
EA
33. rm |x
34. rm |X
35.\}
6f6d9ee7
EA
36.el \
37\{\
1b376901 38. br \" if in a diversion, save & process later
6f6d9ee7
EA
39\!.)x \\$1 \\$2
40. ev
41.\}
84f25a89
EA
42..
43.de xp \" *** print the index
44.br
45.@C 2
46.ls 1
47.vs \\n(.su*\\n($Ru
48.fi
49.ds |X x
50.if \\n(.$ \
51. ds |X \\$1
52.xl -(\\n(xuu+\w'...'u)
53.di |x
54.%\\*(|X
55.br
56.di
57.rm %\\*(|X
58.xl \\n($lu
59.rm |X
60.ev
61.nf
62.in 0
63.ta \\n(.lu-\\n(xuuR \\n(.luR
64.|x
65.fi
66.in
67.rm |x
68..
69.if \n(xu<=0 \
70. nr xu 0.5i \" index undent
71.nr c. \n(_0