source: trunk/third/mdoc/doc-ditroff @ 12247

Revision 12247, 5.5 KB checked in by danw, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12246, which included commits to RCS files with non-trunk default branches.
Line 
1.\" Copyright (c) 1991, 1993
2.\"     The Regents of the University of California.  All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\"    notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\"    notice, this list of conditions and the following disclaimer in the
11.\"    documentation and/or other materials provided with the distribution.
12.\" 3. All advertising materials mentioning features or use of this software
13.\"    must display the following acknowledgement:
14.\"     This product includes software developed by the University of
15.\"     California, Berkeley and its contributors.
16.\" 4. Neither the name of the University nor the names of its contributors
17.\"    may be used to endorse or promote products derived from this software
18.\"    without specific prior written permission.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\"     @(#)doc-ditroff 8.1 (Berkeley) 6/8/93
33.\"     $NetBSD: doc-ditroff,v 1.3 1997/07/02 02:55:43 phil Exp $
34.\"
35.\" tmac.mdoc-ditroff
36.\"     %beginstrip%
37.\"
38.ds aD \fI\s10
39.ds aR \f(CO\s10
40.ds cM \f(CB\s10
41.ds dF \fR\s10
42.ds eM \fI\s10
43.ds eR \fC\s10
44.ds eV \fC\s10
45.ds fA \f(CO\s10
46.ds fD \f(CB\s10
47.ds fL \f(CB\s10
48.ds fN \f(CB\s10
49.ds fP \fP\s0
50.ds fS \s0
51.ds fT \f(CO\s10
52.ds Hs \fR\s10
53.ds iC \f(CB\s10
54.ds lI \fC
55.ds lP \fR\|(\|\fP\s10
56.ds lp \fR(\fP\s10
57.ds rP \fR\|)\|\fP\s10
58.ds rp \fR)\fP\s10
59.ds lB \fR\^[\^\fP\s10
60.ds rB \fR\^]\fP\s10
61.ds mL \fB\s10
62.ds nM \f(CB\s10
63.ds nO \fR\s10
64.ds nT \s0
65.ds pA \fC\s10
66.ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
67.ds rA \fR\s10
68.ds rT \f(CO\s10
69.ds sH \fB\s10
70.ds sP \s0
71.ds sY \fB\s10
72.ds sX \fR\s10
73.ds tF \fR
74.ds tN \s9
75.ds vA \fI\s10
76.ds Vs \fR\s10
77.ds vT \f(CB\s10
78.ds xR \fC\s10
79.tr *\(**
80.nr sI \w\fC,u*5
81.nr Ti \n(sIu
82.nr Pp .5v
83.ds lS \0
84.nr lS \w'\0'u
85.nr dI 6n
86.de pL
87.nr Hm .5i
88.nr Fm .5i
89.nr ll 6.5i
90.ll 6.5i
91.nr lt 6.5i
92.lt 6.5i
93.nr po 1i
94.po 1.i
95.nr dV .5v
96..
97.ds <= \(<=
98.ds >= \(>=
99.ds Lq \&``
100.ds Rq \&''
101.ds ua \(ua
102.ds aa \(aa
103.ds ga \(ga
104.ds sR \&'
105.ds sL \&`
106.ds q \&"
107.\" Math stuff
108.ds Pi \(*p
109.ds Ne \(!=
110.ds Le \(<=
111.ds Ge \(>=
112.ds Lt <
113.ds Gt >
114.ds Pm \(+-
115.ds If \(if
116.ds Na \fINaN\fP
117.ds Ba \fR\&|\fP
118.\"
119.nr gX 0
120.de hK
121.ds hT \\*(dT
122.if !"\\*(cH"Null" \{\
123.       ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
124.       el .as hT \\|(\\|\\*(cH\\|)
125.\}
126.if "\\*(cH"Null" \{\
127.       if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
128.\}
129.wh 0 hM
130.wh -1.25i fM
131.\" .tm Here is gX == \\n(gX
132.ie \\n(gX==1 \{\
133.       rm n1
134.       if \\n(.g .br
135.       if !\\n(.g .bp
136.\}
137.el \{\
138.       if \\n(.g .br
139.       if !\\n(.g 'bp
140.\}
141.nr % 1
142.nr gX 0
143.em lM
144..
145.\"
146.nr fW \w\fC0
147.de sW
148.nr sW \w\fC\\$1
149.ie \\n(sW>=\\n(fW \{\
150.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
151.       el .nr sW \\n(sW/\\n(fW
152.\}
153.el \{\
154.       ie \\n(sW>0 .nr sW 1
155.       el .nr sW 0
156.\}
157..
158.\"
159.de aW
160.nr sW \w\fC\\*(A\\$1
161.ie \\n(sW>=\\n(fW \{\
162.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
163.       el .nr sW \\n(sW/\\n(fW
164.\}
165.el \{\
166.       ie \\n(sW>0 .nr sW 1
167.       el .nr sW 0
168.\}
169..
170.\" NS Ql macro - Quoted literal define
171.de Ql
172.if \\n(aC==0  \{\
173.       ds mN Ql
174.       ds A1 \\$1
175.       ds A2 \\$2
176.       ds A3 \\$3
177.       ds A4 \\$4
178.       ds A5 \\$5
179.       ds A6 \\$6
180.       ds A7 \\$7
181.       ds A8 \\$8
182.       nr fV \\n(.$
183.       fV
184.\}
185.nr aP \\n(aP+1
186.aW \\n(aP
187.nr aP \\n(aP-1
188.if \\n(sW>2 .Li
189.if \\n(sW<=2 \{\
190.\" Db on
191.       if (\\n(aP>0) \{\
192.               ds A\\n(aP Li
193.               nr aP \\n(aP -1
194.       \}
195.       if (\\n(aP==0) \{\
196.               rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
197.               rm S1 S2 S3 S4 S5 S6 S7 S8 S9
198.               rn A8 A9
199.               rn A7 A8
200.               rn A6 A7
201.               rn A5 A6
202.               rn A4 A5
203.               rn A3 A4
204.               rn A2 A3
205.               rn A1 A2
206.               ds A1 Li
207.               nr fV \\n(aC+1
208.               nr aC 0
209.               fV
210.       \}
211.       ds qL \&\\*(sL
212.       ds qR \&\\*(sR
213.       En
214.\" Db off
215.\}
216..
217.\" NS Sh macro - Section Headers
218.\" NS nS register - Section Header SYNOPSIS flag
219.\" NS nF register - Section Header FILES flag
220.\" NS nA register - Section Header SEE ALSO flag
221.\" NS nT register - Section Header STANDARDS flag
222.de Sh
223.nr nS 0
224.nr sE 0
225.nr iS 0
226'ad
227.ie "\\$1"NAME" \{\
228.       hK
229'       in 0
230.\}
231.el \{\
232.       nr nS 0
233.       nr nA 0
234.       nr nF 0
235.       nr nT 0
236.       nr nY 0
237.       nr oT 0
238.       if "\\$1"SYNOPSIS" \{\
239.               na
240.               nr nS 1
241.       \}
242.       if "\\$1"DESCRIPTION" \{\
243.               nr fY 0
244.               nr fZ 0
245.               nr fB 0
246.               nr Fb 0
247.               ds Fb
248.       \}
249.       if "\\$1"SEE" \{\
250.               nr nA 1
251.               na
252.       \}
253.       if "\\$1"FILES" .nr nF 1
254.       if "\\$1"STANDARDS" .nr nT 1
255.       if "\\$1"AUTHORS" .nr nY 1
256.       if "\\$1"SEE" .nr sE 1
257.       in 0
258.       nr aN 0
259.\}
260.pL
261'sp
262.ns
263.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
264.if !\\n(cR .ne 3
265'fi
266\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
267\&\fP\s0\&
268.in \\n(.iu+\\n(Tiu
269.ns
270..
Note: See TracBrowser for help on using the repository browser.