head	1.11;
access;
symbols
	groff-1_20_1_real:1.11
	groff-1_20_1:1.11
	groff-1_20:1.11
	groff-1_19_2:1.11
	FDL:1.9
	groff-1_19_1:1.9
	groff-1_19:1.8
	groff-1_18_1:1.7
	groff-1_18:1.6
	groff-1_17_2:1.4
	groff-1_17_1:1.4
	groff-1_17a:1.4
	groff-1_17:1.4
	groff-1_16_1b:1.1.1.1
	groff-1_16_1a:1.1.1.1
	groff-1_16_1:1.1.1.1
	groff-1_16:1.1.1.1
	groff-20000311:1.1.1.1
	groff-20000310-1:1.1.1.1
	groff-20000310:1.1.1.1
	pre-1_16:1.1.1.1
	start:1.1.1.1
	wlemb:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2005.02.04.00.09.00;	author wl;	state Exp;
branches;
next	1.10;

1.10
date	2005.01.19.06.50.30;	author wl;	state Exp;
branches;
next	1.9;

1.9
date	2003.05.02.18.40.20;	author wlemb;	state Exp;
branches;
next	1.8;

1.8
date	2002.10.26.19.24.08;	author wlemb;	state Exp;
branches;
next	1.7;

1.7
date	2002.10.07.09.14.48;	author wlemb;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.03.17.14.53;	author wlemb;	state Exp;
branches;
next	1.5;

1.5
date	2002.04.15.10.21.15;	author wlemb;	state Exp;
branches;
next	1.4;

1.4
date	2001.04.09.22.59.20;	author wlemb;	state Exp;
branches;
next	1.3;

1.3
date	2001.03.24.15.04.41;	author wlemb;	state Exp;
branches;
next	1.2;

1.2
date	2001.03.23.00.17.51;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2000.02.06.09.39.44;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.02.06.09.39.44;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.11
log
@

* tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
Update BSD license.
@
text
@.\" Copyright (c) 1991, 1993
.\"	The Regents of the University of California.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. [Deleted.  See
.\"     ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change]
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\"     @@(#)doc-ditroff	8.1 (Berkeley) 06/08/93
.\"
.\"     %beginstrip%
.
.
.eo
.
.\" use -rD=1 for double-sided printing
.
.if !r D .nr D 0
.
.\" use -rcR=1 to force the creation of a single, very long page
.
.if !r cR .nr cR 0
.
.\" use -rS={11,12} to change the font size from 10pt to 11pt or 12pt.
.
.if !r S .nr S 10
.
.
.ec
.
.
.ie        (\n[S] == 11) \{\
.  ps 10.95z
.  vs 13.6p
.\}
.el \{ .ie (\n[S] == 12) \{\
.  ps 12z
.  vs 14.5p
.\}
.el \{\
.  ps 10z
.  vs 12p
.\}\}
.
.
.\" the `doc-xx-font' strings must not be empty!
.
.ds doc-caption-font \f[R]\s[\n[.ps]u]
.ds doc-caption-font2 \f[R]\s[\n[.ps]u]
.ds doc-Ad-font \f[I]\s[\n[.ps]u]
.ds doc-Ar-font \f[CO]\s[\n[.ps]u]
.ds doc-Cm-font \f[CB]\s[\n[.ps]u]
.ds doc-Em-font \f[I]\s[\n[.ps]u]
.ds doc-Er-font \f[C]\s[\n[.ps]u]
.ds doc-Ev-font \f[C]\s[\n[.ps]u]
.ds doc-Fa-font \f[CO]\s[\n[.ps]u]
.ds doc-Fd-font \f[CB]\s[\n[.ps]u]
.ds doc-Fl-font \f[CB]\s[\n[.ps]u]
.ds doc-Fn-font \f[CB]\s[\n[.ps]u]
.ds doc-Ft-font \f[CO]\s[\n[.ps]u]
.ds doc-Ic-font \f[CB]\s[\n[.ps]u]
.ds doc-Li-font \f[C]
.ds doc-Me-font \f[B]\s[\n[.ps]u]
.ds doc-Nm-font \f[CB]\s[\n[.ps]u]
.ds doc-No-font \f[R]\s[\n[.ps]u]
.ds doc-Pa-font \f[C]\s[\n[.ps]u]
.ds doc-Sh-font \f[B]\s[\n[.ps]u]
.ds doc-Sy-font \f[B]\s[\n[.ps]u]
.ds doc-Sx-font \f[B]\s[\n[.ps]u]
.ds doc-Tn-font-shape \f[R]
\# XXX: adapt to discrete LaTeX font sizes
.ds doc-Tn-font-size \s[(\n[.ps]u - 1z)]
.ds doc-Va-font \f[I]\s[\n[.ps]u]
.ds doc-Xr-font \f[C]\s[\n[.ps]u]
.
.ds doc-left-parenthesis \f[R]\|(\|\f[]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[]\s[\n[.ps]u]
.ds lp \f[R](\f[]\s[\n[.ps]u]
.ds rp \f[R])\f[]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[]\s[\n[.ps]u]
.
.tr *\[**]
.
.\" miscellaneous
.nr doc-subheader-indent (\w\f[C],u * 5u)
.nr doc-paragraph-space .5v
.
.nr doc-digit-width \w'\0'u
.nr doc-fixed-width \w\f[C]0
.
.eo
.
.
.\" NS doc-header-space global register
.\" NS   the space between header and body
.
.nr doc-header-space .5i
.
.
.\" NS doc-footer-space global register
.\" NS   the space between body and footer
.
.nr doc-footer-space .5i
.
.
.\" NS doc-display-vertical global register
.\" NS   vertical space between list elements etc.
.
.nr doc-display-vertical 0
.
.
.\" NS doc-setup-page-layout macro
.\" NS   set up page layout
.\" NS
.\" NS modifies:
.\" NS   doc-display-vertical
.
.de doc-setup-page-layout
.  ie r LL \
.    ll \n[LL]u
.  el \
.    ll 6.5i
.
.  ie r LT \
.    lt \n[LT]u
.  el \
.    lt 6.5i
.
.  po 1i
.
.  nr doc-display-vertical .5v
..
.
.
.ds doc-left-singlequote \[oq]
.ds doc-right-singlequote \[cq]
.
.\" the following strings are `official'
.ds <= \[<=]
.ds >= \[>=]
.ds Lq \[lq]
.ds Rq \[rq]
.ds ua \[ua]
.ds aa \[aa]
.ds ga \[ga]
.ds q \[dq]
.ds Pi \[*p]
.ds Ne \[!=]
.ds Le \[<=]
.ds Ge \[>=]
.ds Lt <
.ds Gt >
.ds Pm \[+-]
.ds If \[if]
.ds Na \f[I]NaN\f[]
.ds Ba \f[R]|\f[]
.ds Am &
.
.
.\" NS doc-header-string global string
.\" NS   the final string used for the manual page header
.
.ds doc-header-string
.
.
.\" NS doc-setup-header macro
.\" NS   install and initialize header and footer support
.\" NS
.\" NS modifies:
.\" NS   doc-header-string
.
.de doc-setup-header
.  ds doc-header-string "\*[doc-document-title]
.  if !"\*[doc-section]"Null" \
.    as doc-header-string \|(\*[doc-section])
.
.  wh 0 doc-header
.  wh -1.25i doc-footer
.
.  br
.
.  e@@ doc-end-macro
..
.
.
.\" NS doc-get-width macro
.\" NS   computes the width of a string as a multiple of `doc-fixed-width':
.\" NS   `.doc-get-width string'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-width
.  nr doc-width \w\f[C]\$1
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS doc-get-arg-width macro
.\" NS   computes the width of an argument as a multiple of
.\" NS   `doc-fixed-width': `.doc-get-arg-width arg-index'
.\" NS
.\" NS modifies:
.\" NS   doc-width
.
.de doc-get-arg-width
.  nr doc-width \w\f[C]\*[doc-arg\$1]
.  ie (\n[doc-width] >= \n[doc-fixed-width]) \{\
.    ie (\n[doc-width] % \n[doc-fixed-width]) \
.      nr doc-width ((\n[doc-width] / \n[doc-fixed-width]) + 1)
.    el \
.      nr doc-width (\n[doc-width] / \n[doc-fixed-width])
.  \}
.  el \{\
.    ie \n[doc-width] \
.      nr doc-width 1
.    el \
.      nr doc-width 0
.  \}
..
.
.
.\" NS Ql user macro
.\" NS   quoted literal define
.\" NS
.\" NS modifies:
.\" NS   doc-argXXX
.\" NS   doc-arg-limit
.\" NS   doc-arg-ptr
.\" NS   doc-macro-name
.\" NS   doc-spaceXXX
.\" NS   doc-typeXXX
.\" NS   doc-quote-left
.\" NS   doc-quote-right
.\" NS
.\" NS local variables:
.\" NS   doc-reg-Ql
.\" NS   doc-reg-Ql1
.\" NS   doc-reg-Ql2
.\" NS
.\" NS width register `Ql' set in doc-common
.
.de Ql
.  if !\n[doc-arg-limit] \{\
.    ie \n[.$] \{\
.      ds doc-macro-name Ql
.      doc-parse-args \$@@
.    \}
.    el \
.      tm Usage: .Ql argument ... (#\n[.c])
.  \}
.
.  nr doc-reg-Ql (\n[doc-arg-ptr] + 1)
.  doc-get-arg-width \n[doc-reg-Ql]
.
.  \" don't use quotes if we have more than two succeeding string arguments
.  nr doc-reg-Ql +1
.  if (\n[doc-arg-limit] >= \n[doc-reg-Ql]) \
.    if (\n[doc-type\n[doc-reg-Ql]] == 2) \
.      nr doc-width 3
.
.  \" make a difference in quotation style for strings longer
.  \" than two characters
.  ie (\n[doc-width] > 2) \
.    Li
.  el \{\
.    ie \n[doc-arg-ptr] \{\
.      \" we replace `Ql' with `Li'
.      ds doc-arg\n[doc-arg-ptr] Li
.      nr doc-arg-ptr -1
.    \}
.    el \{\
.      \" if .Ql has been called directly, we must shift all elements in
.      \" the argument vector to the right so that we can insert `Li'
.      nr doc-reg-Ql \n[doc-arg-limit]
.      nr doc-reg-Ql1 (\n[doc-arg-limit] + 1)
.      while \n[doc-reg-Ql] \{\
.        rn doc-arg\n[doc-reg-Ql] doc-arg\n[doc-reg-Ql1]
.        rnn doc-type\n[doc-reg-Ql] doc-type\n[doc-reg-Ql1]
.        rn doc-space\n[doc-reg-Ql] doc-space\n[doc-reg-Ql1]
.        nr doc-reg-Ql -1
.        nr doc-reg-Ql1 -1
.      \}
.      ds doc-arg1 Li
.      nr doc-type1 1
.      ds doc-space1
.      nr doc-arg-limit +1
.    \}
.
.    ds doc-quote-left "\*[doc-left-singlequote]
.    ds doc-quote-right "\*[doc-right-singlequote]
.    doc-enclose-string
.  \}
..
.
.
.ec
.
.\" EOF
@


1.10
log
@

* tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
Remove dead code.


* src/roff/troff/div.cpp (top_level_diversion::space): Protect
against division by zero.
@
text
@d12 2
a13 4
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"      This product includes software developed by the University of
.\"      California, Berkeley and its contributors.
@


1.9
log
@* tmac/doc-common (Nd): Use \[em].

* tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
doc-footer-space): Initialize to 0.5i.
(doc-setup-page-layout): Don't set doc-header-space and
doc-footer-space.

* REVISION: Set to 1.

* doc/pic.ms: Document possible problems with `figname'.
@
text
@a182 2
.nr gX 0
.
a203 3
.  if \n[gX] \
.    ds doc-command-name
.
a205 1
.  nr gX 0
@


1.8
log
@
* tmac/doc-ditroff: Remove useless switch/variable -rC.
(doc-setup-header): Don't set page register `%'.
* tmac/doc-nroff: Remove variable `C'.
(doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
(doc-setup-header): Don't set page register `%'.
Don't call `bp'.
* tmac/doc-common (doc-header): Call `ns'.
(doc-paragraph): Protect .sp with .br so that it survives the
implicit new-page trap.
* tmac/doc.tmac (Bp, Bl, doc-set-vertical-and-indent): Ditto.

* tmac/doc*:Replace ' with . for consistency in all mdoc-related
files if no effect.
@
text
@d121 1
a121 1
.nr doc-header-space 0
d127 1
a127 1
.nr doc-footer-space 0
a140 2
.\" NS   doc-footer-space
.\" NS   doc-header-space
a142 3
.  nr doc-header-space .5i
.  nr doc-footer-space .5i
.
@


1.7
log
@
* tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
suppress additional whitespace after the header.

* tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
with NetBSD.

* src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.

* tmac/doc-common(doc-volume-operating-system-ateol): New flag.
(Dt): Use it to improve language localization (especially Russian
and French).

* src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
* src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
drawing commands.
* src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
curve type.
Call `picurve' for BSPLINE.
(HGPrintElt): Handle BSPLINE.
* src/preproc/grn/README: Document it.
@
text
@a38 4
.\" use -rC=1 to number pages continuously
.
.if !r C .nr C 0
.
a210 1
.  nr nL \n[nl]
a214 6
.
.  \" Don't set the page number if this is the first page,
.  \" in case the user has used -n.
.  if \n[nL] \
.    if !\n[C] \
.      nr % 1
@


1.6
log
@
* doc/groff.texinfo: Don't use the string `Appendix' for appendix
headers (both in the text and the table of contents).
* man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
directories.

Use registers LL and LT (similar to -ms) for controlling the
length of title and line, respectively, in the -man and -mdoc
macro packages.

* tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
(doc-setup-page-layout): Use \n[LL] and \n[LT].
* tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
(TH): Use \n[LL].
(an-header, an-p-footer): Use \n[LT].
* NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
doc/groff.texinfo: Document it.
@
text
@d190 1
@


1.5
log
@
Add new escape \F to switch font family.

* src/roff/troff/input.cc (token::next): Handle \F.
* src/roff/troff/env.cc (environment::set_family): Handle
`interrupted' flag.
* NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
Document it.

* tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
spaces in tags.

* tmac/Xps.tmac: Remove some redundant code.

* tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
tmac/dvi.tmac, contrib/groffer/groffer.man, man/roff.man,
man/groff_out.man, man/groff.man, man/groff_diff.man,
src/roff/groff/groff.man: Replace \f[P] with \f[].
@
text
@d152 10
a161 2
.  ll 6.5i
.  lt 6.5i
@


1.4
log
@Fix indentation in SYNOPSIS.

Updated to include changes of latest BSD mdoc version (basically,
`.Fn' and `.Fc' put a final semicolon after a function declaration
in the SYNOPSIS section.

* tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
(doc-in-synopsis-section): New variable.  Updated all related
functions.
(doc-indent-synopsis-active): New register.
(Nd, Fn, Fo): Use it.
(Cd): It requires manipulation of n[doc-indent-synopsis] so that
`.Cd' with long argument line produces indented wrapped lines.
Also, the misplaced `.nop *[doc-Nm-font]c'' caused extra
undesirable line break to be output.
(doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
`.rs'.
(Fn, Fc): Add final `;' to output.
(doc-save-global-vars, doc-restore-global-vars): Updated.
* tmac/doc-common: Remove `Ex' register.
Updated.
* tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
copyright.
@
text
@d103 6
a108 6
.ds doc-left-parenthesis \f[R]\|(\|\f[P]\s[\n[.ps]u]
.ds doc-right-parenthesis \f[R]\|)\|\f[P]\s[\n[.ps]u]
.ds lp \f[R](\f[P]\s[\n[.ps]u]
.ds rp \f[R])\f[P]\s[\n[.ps]u]
.ds doc-left-bracket \f[R]\^[\^\f[P]\s[\n[.ps]u]
.ds doc-right-bracket \f[R]\^]\f[P]\s[\n[.ps]u]
d180 2
a181 2
.ds Na \f[I]NaN\f[P]
.ds Ba \f[R]|\f[P]
@


1.3
log
@* tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
selecting the font size.
* tmac/groff_mdoc.man, NEWS: Document it.


* tmac/groff_mdoc.reference.man: Small updates and renamed to ...
* tmac/groff_mdoc.man: This.  The quick reference has been removed.
* tmac/Makefile.sub, NEWS: Updated.
@
text
@d1 2
a2 2
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
d32 1
a32 1
.\"     @@(#)doc-ditroff 5.8 (Berkeley) 8/5/91
@


1.2
log
@Replaced mdoc implementation.  The new version is `state of the
art', using almost all new features of groff 1.17 -- it won't run
with older versions.

* tmac/doc.tmac: Completely rewritten.
* tmac/doc-common: Ditto.
* tmac/doc-nroff: Ditto.
* tmac/doc-ditroff: Ditto.
* tmac/doc-syms: Ditto.
* tmac/mdoc.local: New file.
* tmac/groff_mdoc.samples.man: Replaced with ...
* tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
* tmac/strip.sed: Updated.
* tmac/Makefile.sub: Updated.
* INSTALL: Updated.

* tmac/groff_man.man: Add `man.local' to the FILES section.
@
text
@d51 4
d57 15
@


1.1
log
@Initial revision
@
text
@d14 2
a15 2
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
d32 1
a32 1
.\"     @@(#)doc-ditroff	5.8 (Berkeley) 8/5/91
a33 1
.\" tmac.mdoc-ditroff
d35 103
a137 61
.\"
.\" -rC1 numbers pages continuously; initialize to avoid warnings
.if \n(.g .if !rC .nr C 0
.ds aD \fI\s10
.ds aR \f(CO\s10
.ds cM \f(CB\s10
.ds dF \fR\s10
.ds eM \fI\s10
.ds eR \fC\s10
.ds eV \fC\s10
.ds fA \f(CO\s10
.ds fD \f(CB\s10
.ds fL \f(CB\s10
.ds fN \f(CB\s10
.ds fP \fP\s0
.ds fS \s0
.ds fT \f(CO\s10
.ds Hs \fR\s10
.ds iC \f(CB\s10
.ds lI \fC
.ds lP \fR\|(\|\fP\s10
.ds lp \fR(\fP\s10
.ds rP \fR\|)\|\fP\s10
.ds rp \fR)\fP\s10
.ds lB \fR\^[\^\fP\s10
.ds rB \fR\^]\fP\s10
.ds mL \fB\s10
.ds nM \f(CB\s10
.ds nO \fR\s10
.ds nT \s0
.ds pA \fC\s10
.ds Pu \fR{\ .\ ,\ :\ ;\ (\ )\ [\ ]\ \fR}
.ds rA \fR\s10
.ds rT \f(CO\s10
.ds sH \fB\s10
.ds sP \s0
.ds sY \fB\s10
.ds sX \fR\s10
.ds tF \fR
.ds tN \s9
.ds vA \fI\s10
.ds Vs \fR\s10
.ds vT \f(CB\s10
.ds xR \fC\s10
.tr *\(**
.nr sI \w\fC,u*5
.nr Ti \n(sIu
.nr Pp .5v
.ds lS \0
.nr lS \w'\0'u
.nr dI 6n
.de pL
.nr Hm .5i
.nr Fm .5i
.nr ll 6.5i
.ll 6.5i
.nr lt 6.5i
.lt 6.5i
.nr po 1i
.po 1.i
.nr dV .5v
d139 18
a156 21
.ds <= \(<=
.ds >= \(>=
.ie \n(.g \{\
.	ds Lq \(lq
.	ds Rq \(rq
.\}
.el \{\
.	ds Lq \&``
.	ds Rq \&''
.\}
.ds ua \(ua
.ds aa \(aa
.ds ga \(ga
.ds sR \&'
.ds sL \&`
.ds q \&"
.\" Math stuff
.ds Pi \(*p
.ds Ne \(!=
.ds Le \(<=
.ds Ge \(>=
d159 5
a163 32
.ds Pm \(+-
.ds If \(if
.ds Na \fINaN\fP
.ds Ba \fR\&|\fP
.\"
.nr gX 0
.de hK
.ds hT \\*(dT
.if !"\\*(cH"Null" \{\
.       ie !"\\*(gP"Null" .as hT \|(\|\\*(cH\\*(gP\|)
.       el .as hT \\|(\\|\\*(cH\\|)
.\}
.if "\\*(cH"Null" \{\
.	if !"\\*(gP"Null" .as hT \&\|(\|\\*(gP\|)
.\}
.wh 0 hM
.wh -1.25i fM
.nr nL \\n(nl
.ie \\n(gX==1 \{\
.	rm n1
.	bp
.\}
.el \{\
'	bp
.\}
.\" Don't set the page number if this is the first page,
.\" in case the user has used -n.
.if \\n(nL>0 \{\
.	if !\\nC \{\
.		nr % 1
.	\}
.\}
d165 36
a200 1
.em lM
d202 23
a224 12
.\"
.nr fW \w\fC0
.de sW
.nr sW \w\fC\\$1
.ie \\n(sW>=\\n(fW \{\
.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
.       el .nr sW \\n(sW/\\n(fW
.\}
.el \{\
.	ie \\n(sW>0 .nr sW 1
.	el .nr sW 0
.\}
d226 23
a248 11
.\"
.de aW
.nr sW \w\fC\\*(A\\$1
.ie \\n(sW>=\\n(fW \{\
.       ie \\n(sW%\\n(fW .nr sW (\\n(sW/\\n(fW)+1
.       el .nr sW \\n(sW/\\n(fW
.\}
.el \{\
.	ie \\n(sW>0 .nr sW 1
.	el .nr sW 0
.\}
d250 22
a271 1
.\" NS Ql macro - Quoted literal define
d273 50
a322 98
.if \\n(aC==0  \{\
.	ds mN Ql
.       ds A1 \\$1
.       ds A2 \\$2
.       ds A3 \\$3
.       ds A4 \\$4
.       ds A5 \\$5
.       ds A6 \\$6
.       ds A7 \\$7
.       ds A8 \\$8
. 	nr fV \\n(.$
. 	fV
.\}
.nr aP \\n(aP+1
.aW \\n(aP
.nr aP \\n(aP-1
.if \\n(sW>2 .Li
.if \\n(sW<=2 \{\
.\" Db on
.	if (\\n(aP>0) \{\
.		ds A\\n(aP Li
.		nr aP \\n(aP -1
.	\}		
.	if (\\n(aP==0) \{\
.		rm C0 C1 C2 C3 C4 C5 C6 C7 C8 C9
.		rm S1 S2 S3 S4 S5 S6 S7 S8 S9
.		rn A8 A9
.		rn A7 A8
.		rn A6 A7
.		rn A5 A6
.		rn A4 A5
.		rn A3 A4
.		rn A2 A3
.		rn A1 A2
.		ds A1 Li
.	 	nr fV \\n(aC+1
.		nr aC 0
.		fV
.	\}
.	ds qL \&\\*(sL
.	ds qR \&\\*(sR
.	En
.\" Db off
.\}
..
.\" NS Sh macro - Section Headers
.\" NS nS register - Section Header SYNOPSIS flag
.\" NS nF register - Section Header FILES flag
.\" NS nA register - Section Header SEE ALSO flag
.\" NS nT register - Section Header STANDARDS flag
.de Sh
.nr nS 0
.nr sE 0
.nr iS 0
'ad
.ie "\\$1"NAME" \{\
.       hK
'       in 0
.\}
.el \{\
.       nr nS 0
.       nr nA 0
.       nr nF 0
.       nr nT 0
.       nr nY 0
.       nr oT 0
.       if "\\$1"SYNOPSIS" \{\
.		na
.		nr nS 1
.	\}
.       if "\\$1"DESCRIPTION" \{\
.		nr fY 0
.		nr fZ 0
.		nr fB 0
.		nr Fb 0
.		ds Fb
.	\}
.       if "\\$1"SEE" \{\
.               nr nA 1
.               na
.       \}
.       if "\\$1"FILES" .nr nF 1
.       if "\\$1"STANDARDS" .nr nT 1
.       if "\\$1"AUTHORS" .nr nY 1
.	if "\\$1"SEE" .nr sE 1
.       in 0
.       nr aN 0
.\}
.pL
'sp
.ns
.ta .5i 1i 1.5i 2i 2.5i 3i 3.5i 4i 4.5i 5i 5.5i 6i 6.5i
.if !\\n(cR .ne 3
'fi
\&\\*(sH\\$1 \|\\$2 \|\\$3 \|\\$4 \|\\$5 \|\\$6 \|\\$7 \|\\$8 \|\\$9
\&\fP\s0\&
.in \\n(.iu+\\n(Tiu
.ns
d324 5
@


1.1.1.1
log
@groff pre-1.16 with new directory structure
@
text
@@
