Commit | Line | Data |
---|---|---|
02b128a9 | 1 | # |
ad787160 | 2 | # "@(#)bib.spe2 2.4 5/27/93"; |
8e799c64 GL |
3 | # |
4 | # Software - Practice and Exprience format | |
5 | # | |
dbc5fe45 | 6 | I bibinc.shortnames |
8e799c64 GL |
7 | A |
8 | H | |
9 | .\" citation formatting string | |
10 | .ds [[ \s-2\u | |
11 | .ds ]] \d\s0 | |
12 | .ds [{ " \& | |
13 | .ds }] | |
14 | .ds [. . | |
15 | .ds .] | |
16 | .ds [, , | |
17 | .ds ,] | |
18 | .ds [< | |
19 | .ds >] " \& | |
20 | .ds ], , | |
21 | .ds ]- - | |
22 | .\" reference formmating strings | |
23 | .ds a] " \& | |
24 | .ds b] , \& | |
25 | .ds c] , \& | |
26 | .ds n] "" and \& | |
27 | .ds m] "" and \& | |
28 | .ds p] . | |
29 | .\" reference formmating macros | |
30 | .de s[ \" start reference | |
31 | .LP | |
32 | .in +4n | |
33 | .ti -4n | |
34 | .ta 3nR 4n | |
35 | \\&\t\\*([F.\t\c | |
36 | .nh | |
37 | .. | |
38 | .de e[ \" end reference | |
39 | .in -4n | |
40 | .[- | |
41 | .. | |
42 | .de [] \" start to display collected references | |
43 | .. | |
44 | .de ][ \" choose format | |
45 | .ie !"\\*([J"" \{\ | |
46 | . ie !"\\*([V"" .nr t[ 1 \" journal | |
47 | . el .nr t[ 5 \" conference paper | |
48 | .\} | |
49 | .el .ie !"\\*([B"" .nr t[ 3 \" article in book | |
50 | .el .ie !"\\*([R"" .nr t[ 4 \" technical report | |
51 | .el .ie !"\\*([I"" .nr t[ 2 \" book | |
52 | .el .nr t[ 0 \" other | |
53 | .\\n(t[[ | |
54 | .. | |
55 | .de 0[ \" other | |
56 | .s[ | |
57 | .if !"\\*([A"" \\*([A, | |
58 | .if !"\\*([T"" \\*([T, | |
59 | .if !"\\*([O"" \\*([O\c | |
60 | .if !"\\*([D"" , \\*([D\c | |
61 | \\&. | |
62 | .e[ | |
63 | .. | |
64 | .de 1[ \" journal article | |
65 | .s[ | |
66 | .if !"\\*([A"" \\*([A, | |
67 | .if !"\\*([T"" `\\*([T', | |
68 | \\fI\\*([J\\fP, | |
69 | .if !"\\*([V"" \\fB\\*([V\\fP, | |
70 | .if !"\\*([P"" \\*([P | |
71 | .if !"\\*([D"" (\\*([D)\c | |
72 | .if !"\\*([I"" , \\*([I\c | |
73 | \\&. | |
74 | .if !"\\*([O"" \\*([O. | |
75 | .e[ | |
76 | .. | |
77 | .de 2[ \" book | |
78 | .s[ | |
79 | .ie !"\\*([A"" \\*([A, | |
80 | .el .if !"\\*([E"" \{\ | |
81 | . ie \\n([E \\*([E, eds., | |
82 | . el \\*([E, ed.,\} | |
83 | .if !"\\*([T"" \\fI\\*([T\\fP, | |
84 | .rm a[ | |
85 | .if !"\\*([I"" .ds a[ \\*([I | |
86 | .if !"\\*([C"" \{\ | |
87 | . if !"\\*(a["" .as a[ , \\& | |
88 | . as a[ \\*([C\} | |
89 | .if !"\\*([D"" \{\ | |
90 | . if !"\\*(a["" .as a[ , \\& | |
91 | . as a[ \\*([D\} | |
92 | \\*(a[. | |
93 | .if !"\\*([G"" Gov. ordering no. \\*([G. | |
94 | .if !"\\*([O"" \\*([O. | |
95 | .e[ | |
96 | .. | |
97 | .de 3[ \" article in book | |
98 | .s[ | |
99 | .if !"\\*([A"" \\*([A, | |
100 | .if !"\\*([T"" `\\*([T', | |
101 | in \\fI\\*([B\\fP, | |
102 | .if !"\\*([V"" vol. \\*([V, | |
103 | .if !"\\*([E"" \\*([E (ed.), | |
104 | .if !"\\*([I"" \\*([I, | |
105 | .if !"\\*([C"" \\*([C, | |
106 | .if !"\\*([D"" \\*([D\c | |
107 | \\&. | |
108 | .if !"\\*([O"" \\*([O. | |
109 | .e[ | |
110 | .. | |
111 | .de 4[ \" report | |
112 | .s[ | |
113 | .if !"\\*([A"" \\*([A, | |
114 | `\\*([T', | |
115 | \\*([R\c | |
116 | .if !"\\*([G"" \& (\\*([G)\c | |
117 | .if !"\\*([I"" , \\*([I\c | |
118 | .if !"\\*([C"" , \\*([C\c | |
119 | .if !"\\*([D"" , \\*([D\c | |
120 | \\&. | |
121 | .if !"\\*([O"" \\*([O. | |
122 | .e[ | |
123 | .. | |
124 | .de 5[ \" conference paper | |
125 | .s[ | |
126 | .if !"\\*([A"" \\*([A, | |
127 | .if !"\\*([T"" `\\*([T', | |
128 | \\fI\\*([J\\fP, | |
129 | .if !"\\*([C"" \\*([C\c | |
130 | .if !"\\*([P"" , \\*([P\c | |
131 | .if !"\\*([D"" \& (\\*([D)\c | |
132 | \\&. | |
133 | .if !"\\*([O"" \\*([O. | |
134 | .e[ | |
135 | .. | |
136 | .de [- \" clean up after yourself | |
137 | .rm [A [B [C [D | |
138 | .rm [E [F [G | |
139 | .rm [I [J [K | |
140 | .rm [N [O [P | |
141 | .rm [R [T | |
142 | .rm [V [W | |
143 | .. |