Sync with FSF branch.

This commit is contained in:
Ruslan Ermilov 2003-09-20 21:20:01 +00:00
parent edd033746c
commit 641e45f5da
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120300
2 changed files with 31 additions and 9 deletions

View File

@ -339,12 +339,18 @@
..
.
.
.\" NS doc-operating-system global string
.\" NS the exact version of the operating system
.\" NS doc-default-operating-system global string
.\" NS the exact (default) version of the operating system
.\" NS
.\" NS override this in `mdoc.local', if necessary
.
.ds doc-operating-system BSD
.ds doc-default-operating-system BSD
.
.
.\" NS doc-operating-system global string
.\" NS the exact version of the operating system
.
.ds doc-operating-system
.
.
.\" NS Os user macro (not parsed, not callable)
@ -434,10 +440,9 @@
.ds doc-operating-system-FreeBSD-5.0 5.0
.
.de Os
. if "\$1"" \
. return
.
. ie "\$1"ATT" \{\
. ie "\$1"" \
. ds doc-operating-system "\*[doc-default-operating-system]
. el \{ .ie "\$1"ATT" \{\
. ds doc-operating-system AT&T
. if \A\$2 \{\
. ie d doc-operating-system-ATT-\$2 \
@ -472,7 +477,7 @@
. ds doc-operating-system \$1
. if !"\$2"" \
. as doc-operating-system " \$2
. \}\}\}\}
. \}\}\}\}\}
..
.
.
@ -696,6 +701,12 @@
.nr doc-in-synopsis-section 0
.
.
.\" NS doc-in-library-section global register (bool)
.\" NS whether we are in the `library' section
.
.nr doc-in-library-section 0
.
.
.\" NS doc-in-see-also-section global register (bool)
.\" NS whether we are in the `see also' section
.
@ -733,6 +744,7 @@
.\" NS doc-func-count
.\" NS doc-in-authors-section
.\" NS doc-in-files-section
.\" NS doc-in-library-section
.\" NS doc-in-see-also-section
.\" NS doc-in-synopsis-section
.\" NS doc-indent-synopsis
@ -749,6 +761,7 @@
.
.ds doc-section-name NAME
.ds doc-section-synopsis SYNOPSIS
.ds doc-section-library LIBRARY
.ds doc-section-description DESCRIPTION
.ds doc-section-see-also SEE
.ds doc-section-files FILES
@ -795,6 +808,7 @@
. \}
. el \{\
. nr doc-in-synopsis-section 0
. nr doc-in-library-section 0
. nr doc-in-see-also-section 0
. nr doc-in-files-section 0
. nr doc-in-authors-section 0
@ -806,6 +820,9 @@
. nr doc-indent-synopsis 0
. nr doc-indent-synopsis-active 0
. \}
. el \{ .ie "\*[doc-str-dfp]"\*[doc-section-library]" \{\
. nr doc-in-library-section 1
. \}
. el \{ .ie "\*[doc-str-dfp]"\*[doc-section-description]" \{\
. nr doc-is-func 0
. nr doc-func-count 0
@ -821,7 +838,7 @@
. nr doc-in-files-section 1
. el .if "\*[doc-str-dfp]"\*[doc-section-authors]" \
. nr doc-in-authors-section 1
. \}\}\}
. \}\}\}\}
.
. in 0
. nr doc-have-author 0
@ -1058,6 +1075,7 @@
. tm doc-display-vertical == \n[doc-display-vertical]
. tm doc-header-string == `\*[doc-header-string]'
. tm doc-in-synopsis-section == \n[doc-in-synopsis-section]
. tm doc-in-library-section == \n[doc-in-library-section]
. tm doc-in-see-also-section == \n[doc-in-see-also-section]
. tm doc-in-files-section == \n[doc-in-files-section]
. tm doc-in-authors-section == \n[doc-in-authors-section]

View File

@ -716,7 +716,11 @@
. \" replacing argument with result
. ds doc-arg\n[doc-arg-ptr] "\*[doc-str-Lb]
.
. if \n[doc-in-library-section] \
. br
. doc-print-recursive
. if \n[doc-in-library-section] \
. br
. \}
. el \{\
. tm Usage: .Lb library_name ... (#\n[.c])