summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-10-09 08:39:59 +0000
committerru <ru@FreeBSD.org>2002-10-09 08:39:59 +0000
commit737a9b93ec94c55fd85de176c9de9302f1a9f95f (patch)
tree150056c943e66f1f971f7f318a3236aa13f1eaf4 /contrib
parentb3f8783440c8d8f299e2f69e882ef478923b8e54 (diff)
downloadFreeBSD-src-737a9b93ec94c55fd85de176c9de9302f1a9f95f.zip
FreeBSD-src-737a9b93ec94c55fd85de176c9de9302f1a9f95f.tar.gz
From the ChangeLog:
: 2002-10-07 Werner LEMBERG <wl@gnu.org> : : * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to : suppress additional whitespace after the header. : : 2002-10-07 Ruslan Ermilov <ru@FreeBSD.org> : : * tmac/doc-common (doc-volume-operating-system-ateol): New flag. : (Dt): Use it to improve language localization (especially Russian : and French).
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/doc-common23
1 files changed, 16 insertions, 7 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common
index 56a604c..62a9d42 100644
--- a/contrib/groff/tmac/doc-common
+++ b/contrib/groff/tmac/doc-common
@@ -231,6 +231,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
@@ -305,13 +306,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
@@ -884,6 +892,7 @@
. if !\n[cR] \
. ne 2
. br
+. ns
. \}
..
.
OpenPOWER on IntegriCloud