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