1 .\"Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
2 .\" Written by James Clark (jjc@jclark.com)
4 .\"This file is part of groff.
6 .\"groff is free software; you can redistribute it and/or modify it under
7 .\"the terms of the GNU General Public License as published by the Free
8 .\"Software Foundation; either version 2, or (at your option) any later
11 .\"groff is distributed in the hope that it will be useful, but WITHOUT ANY
12 .\"WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 .\"FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 .\"You should have received a copy of the GNU General Public License along
17 .\"with groff; see the file COPYING. If not, write to the Free Software
18 .\"Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 .\" -rC1 => number pages continuously, rather than start each at 1
21 .\" -rD1 => double-sided printing, ie different odd and even page footers
22 .\" -rPnnn => number first page nnn
23 .\" -rXnnn => number pages after nnn as nnna, nnnb, nnnc, ...
25 .\" The file man.local is loaded at the end. Put local additions there.
26 .\" If you need to add things to TH, use `.am TH'.
28 .if !\n(.g .ab These man macros work only with groff.
39 . nr an-margin \\n[IN]
42 .\" .TH title section extra1 extra2 extra3
45 .de an-init \" We have to do it like this to get multiple man pages right.
49 .ie \\n[.$]>3 .ds an-extra2 "\\$4
50 .el .ds an-extra2 \"Sun Release 4.0
51 .ie \\n[.$]>4 .ds an-extra3 "\\$5
52 .el .ds an-extra3 \"System Programmer's Manual
64 .nr PS 10 \" normal point-size
65 .nr SN 3n \" the indentation of sub-sub-headings relative to sub-headings
68 .nr an-prevailing-indent \\n[IN]
70 .nr an-no-space-flag 0
82 .ta T .5i \" This sets tabs every .5 inches
85 .ie \\n[.$] .nr PD (v;\\$1)
86 .el .nr PD .4v>?\n[.V]
96 . tl '\\*[an-title](\\*[an-section])'\\*[an-extra3]'\\*[an-title](\\*[an-section])'
109 . ds an-page-string "
113 .el .ds an-page-string \\n%
116 . nr an-page-letter \\n%-\\nX
117 . ds an-page-string \\nX\\n[an-page-letter]
120 . if o .tl '\\*[an-extra2]'\\*[an-extra1]'\\*[an-page-string]'
121 . if e .tl '\\*[an-page-string]'\\*[an-extra1]'\\*[an-extra2]'
123 .el .tl '\\*[an-extra2]'\\*[an-extra1]'\\*[an-page-string]'
133 .nr an-prevailing-indent \\n[IN]
138 .nr an-no-space-flag 1
149 .nr an-prevailing-indent \\n[IN]
154 .nr an-no-space-flag 1
184 .if \\n[.$] .nr an-prevailing-indent (n;\\$1)
186 .if !\\n[an-div?] .di an-div
193 .if \\n[an-break-flag] \{\
197 .if \\n[an-no-space-flag] \{\
199 . nr an-no-space-flag 0
201 .if \\n[an-div?] .an-do-tag
207 .ie \\n[dl]+\\n[an-tag-sep]>\\n[an-prevailing-indent] \{\
212 . in \\n[an-margin]u+\\n[an-prevailing-indent]u
215 . in \\n[an-margin]u+\\n[an-prevailing-indent]u
216 . ti -\\n[an-prevailing-indent]u
219 \\*[an-div]\\h'|\\n[an-prevailing-indent]u'\c
228 .nr an-prevailing-indent \\n[IN]
238 . in \\n[an-margin]u+\\n[an-prevailing-indent]u
241 . ie \\n[.$]-1 .TP "\\$2"
251 .if \\n[.$] .nr an-prevailing-indent (n;\\$1)
252 .in \\n[an-margin]u+\\n[an-prevailing-indent]u
255 .ds an-empty \" this is referenced to avoid looping on eg .RB ( \\ )
258 . ds an-result \&\\$1
260 . while \\n[.$]>=2 \{\
261 . as an-result \,\fI\\$1\fR\/\\$2\\*[an-empty]
264 . if \\n[.$] .as an-result \,\fI\\$1\fR
270 . ds an-result \&\fI\\$1\fR
272 . while \\n[.$]>=2 \{\
273 . as an-result \/\\$1\fI\,\\$2\fR
276 . if \\n[.$] .as an-result \/\\$1
282 . ds an-result \&\fI\\$1
284 . while \\n[.$]>=2 \{\
285 . as an-result \/\\fB\\$1\fI\,\\$2\\*[an-empty]
288 . if \\n[.$] .as an-result \/\\fB\\$1
295 . ds an-result \&\fB\\$1
297 . while \\n[.$]>=2 \{\
298 . as an-result \,\fI\\$1\fB\/\\$2\\*[an-empty]
301 . if \\n[.$] .as an-result \,\fI\\$1
308 .while \\n[.$]>=2 \{\
309 . as an-result \fR\\$1\fB\\$2\\*[an-empty]
312 .if \\n[.$] .as an-result \fR\\$1
318 .while \\n[.$]>=2 \{\
319 . as an-result \fB\\$1\fR\\$2\\*[an-empty]
322 .if \\n[.$] .as an-result \fB\\$1
328 .nr an-saved-margin\\n[an-level] \\n[an-margin]
329 .nr an-saved-prevailing-indent\\n[an-level] \\n[an-prevailing-indent]
330 .ie \\n[.$] .nr an-margin +(n;\\$1)
331 .el .nr an-margin +\\n[an-prevailing-indent]
333 .nr an-prevailing-indent \\n[IN]
338 .ie \\n[.$] .nr an-level (;\\$1)<?\\n[an-level]
340 .nr an-level 1>?\\n[an-level]
341 .nr an-margin \\n[an-saved-margin\\n[an-level]]
342 .nr an-prevailing-indent \\n[an-saved-prevailing-indent\\n[an-level]]
346 .ie c\[rg] .ds R \[rg]
348 .ie c\[tm] .ds Tm \[tm]
353 .\" Load local modifications.