mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
MFV:
- Suppress additional whitespace after the subsection header (.Ss). (This affects a tiny number of our manpages.) - Allow for a layout customization of the OS name in the document title (.Dt). (Needed for Russian and French manpages.)
This commit is contained in:
parent
cf9f968444
commit
2e7d421c8b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104706
@ -232,6 +232,7 @@
|
||||
.\" an alternative, more detailed scheme for naming the manual sections
|
||||
.\"
|
||||
.ds doc-volume-operating-system BSD
|
||||
.nr doc-volume-operating-system-ateol 0
|
||||
.ds doc-volume-ds-1 General Commands Manual
|
||||
.ds doc-volume-ds-2 System Calls Manual
|
||||
.ds doc-volume-ds-3 Library Functions Manual
|
||||
@ -306,13 +307,20 @@
|
||||
. ds doc-section \$2
|
||||
. ie \B\$2 \{\
|
||||
. if ((\$2 >= 1) & (\$2 <= 9)) \{\
|
||||
. ds doc-volume "\*[doc-volume-operating-system]
|
||||
. if \A\$3 \{\
|
||||
. if d doc-volume-as-\$3 \
|
||||
. as doc-volume "/\*[doc-volume-as-\$3]
|
||||
. \}
|
||||
. as doc-volume " \*[doc-volume-ds-\$2]
|
||||
. \}\}
|
||||
. ie \n[doc-volume-operating-system-ateol] \{\
|
||||
. ds doc-volume "\*[doc-volume-ds-\$2] \*[doc-volume-operating-system]
|
||||
. if \A\$3 \{\
|
||||
. if d doc-volume-as-\$3 \
|
||||
. as doc-volume "/\*[doc-volume-as-\$3]
|
||||
. \}\}
|
||||
. el \{\
|
||||
. ds doc-volume "\*[doc-volume-operating-system]
|
||||
. if \A\$3 \{\
|
||||
. if d doc-volume-as-\$3 \
|
||||
. as doc-volume "/\*[doc-volume-as-\$3]
|
||||
. \}
|
||||
. as doc-volume " \*[doc-volume-ds-\$2]
|
||||
. \}\}\}
|
||||
. el \{\
|
||||
. ie "\$2"unass" .ds doc-volume DRAFT
|
||||
. el \{ .ie "\$2"draft" .ds doc-volume DRAFT
|
||||
@ -885,6 +893,7 @@
|
||||
. if !\n[cR] \
|
||||
. ne 2
|
||||
. br
|
||||
. ns
|
||||
. \}
|
||||
..
|
||||
.
|
||||
|
Loading…
Reference in New Issue
Block a user