diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-09 08:39:59 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-10-09 08:39:59 +0000 |
commit | 427fbef08794a3e7f22acedf86a7e87a0a482e17 (patch) | |
tree | 150056c943e66f1f971f7f318a3236aa13f1eaf4 /contrib | |
parent | d80027fc4e316b5c45dfcb93eacdb8cf9de09094 (diff) |
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).
Notes
Notes:
svn path=/vendor/groff/dist/; revision=104705
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/groff/tmac/doc-common | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common index 56a604c551e6..62a9d42a1c8a 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 . \} .. . |