diff options
Diffstat (limited to 'contrib/groff/tmac')
-rw-r--r-- | contrib/groff/tmac/doc-common | 145 | ||||
-rw-r--r-- | contrib/groff/tmac/groff_mdoc.man | 35 |
2 files changed, 88 insertions, 92 deletions
diff --git a/contrib/groff/tmac/doc-common b/contrib/groff/tmac/doc-common index 8e6a737..c5a83e4 100644 --- a/contrib/groff/tmac/doc-common +++ b/contrib/groff/tmac/doc-common @@ -229,66 +229,67 @@ . .\" an alternative, more detailed scheme for naming the manual sections .\" -.ds doc-volume-ds-1 System General Commands Manual +.ds doc-volume-operating-system BSD +.ds doc-volume-ds-1 General Commands Manual .ds doc-volume-ds-2 System Calls Manual -.ds doc-volume-ds-3 System Library Functions Manual -.ds doc-volume-ds-4 System Kernel Interfaces Manual -.ds doc-volume-ds-5 System File Formats Manual -.ds doc-volume-ds-6 System Games Manual -.ds doc-volume-ds-7 System Miscellaneous Information Manual +.ds doc-volume-ds-3 Library Functions Manual +.ds doc-volume-ds-4 Kernel Interfaces Manual +.ds doc-volume-ds-5 File Formats Manual +.ds doc-volume-ds-6 Games Manual +.ds doc-volume-ds-7 Miscellaneous Information Manual .ds doc-volume-ds-8 System Manager's Manual -.ds doc-volume-ds-9 System Kernel Developer's Manual +.ds doc-volume-ds-9 Kernel Developer's Manual . -.ds doc-volume-ds-USD System User's Supplementary Documents -.ds doc-volume-ds-PS1 System Programmer's Supplementary Documents -.ds doc-volume-ds-AMD System Ancestral Manual Documents +.ds doc-volume-ds-USD User's Supplementary Documents +.ds doc-volume-ds-PS1 Programmer's Supplementary Documents +.ds doc-volume-ds-AMD Ancestral Manual Documents .ds doc-volume-ds-SMM System Manager's Manual -.ds doc-volume-ds-URM System Reference Manual -.ds doc-volume-ds-PRM System Programmer's Manual -.ds doc-volume-ds-KM System Kernel Manual -.ds doc-volume-ds-IND System Manual Master Index -.ds doc-volume-ds-LOCAL System Local Manual -.ds doc-volume-ds-CON System Contributed Software Manual +.ds doc-volume-ds-URM User's Reference Manual +.ds doc-volume-ds-PRM Programmer's Manual +.ds doc-volume-ds-KM Kernel Manual +.ds doc-volume-ds-IND Manual Master Index +.ds doc-volume-ds-LOCAL Local Manual +.ds doc-volume-ds-CON Contributed Software Manual . .als doc-volume-ds-MMI doc-volume-ds-IND .als doc-volume-ds-LOC doc-volume-ds-LOCAL . -.ds doc-volume-as-alpha (Alpha Architecture) +.ds doc-volume-as-alpha Alpha .als doc-volume-as-Alpha doc-volume-as-alpha -.ds doc-volume-as-amiga (Amiga Architecture) -.ds doc-volume-as-arc (Arc Architecture) -.ds doc-volume-as-arm26 (ARM26 Architecture) -.ds doc-volume-as-arm32 (ARM32 Architecture) -.ds doc-volume-as-atari (Atari Architecture) -.ds doc-volume-as-bebox (BEbox Architecture) -.ds doc-volume-as-cobalt (Cobalt Architecture) -.ds doc-volume-as-evbsh3 (Evbsh3 Architecture) -.ds doc-volume-as-hp300 (HP300 Architecture) -.ds doc-volume-as-hpcmips (HPcmips Architecture) -.ds doc-volume-as-i386 (i386 Architecture) -.ds doc-volume-as-luna68k (luna68k Architecture) -.ds doc-volume-as-m68k (m68k Architecture) -.ds doc-volume-as-mac68k (mac68k Architecture) -.ds doc-volume-as-macppc (macppc Architecture) -.ds doc-volume-as-mips (MIPS Architecture) -.ds doc-volume-as-mmeye (mmeye Architecture) -.ds doc-volume-as-mvme68k (mvme68k Architecture) -.ds doc-volume-as-news68k (news68k Architecture) -.ds doc-volume-as-newsmips (newsmips Architecture) -.ds doc-volume-as-next68k (next68k Architecture) -.ds doc-volume-as-ofppc (ofppc Architecture) -.ds doc-volume-as-pc532 (pc532 Architecture) -.ds doc-volume-as-pmax (pmax Architecture) -.ds doc-volume-as-powerpc (powerpc Architecture) -.ds doc-volume-as-prep (prep Architecture) -.ds doc-volume-as-sgimips (sgimips Architecture) -.ds doc-volume-as-sh3 (sh3 Architecture) -.ds doc-volume-as-sparc (SPARC Architecture) -.ds doc-volume-as-sparc64 (sparc64 Architecture) -.ds doc-volume-as-sun3 (sun3 Architecture) -.ds doc-volume-as-tahoe (Tahoe Architecture) -.ds doc-volume-as-vax (VAX Architecture) -.ds doc-volume-as-x68k (x68k Architecture) +.ds doc-volume-as-amiga Amiga +.ds doc-volume-as-arc Arc +.ds doc-volume-as-arm26 ARM26 +.ds doc-volume-as-arm32 ARM32 +.ds doc-volume-as-atari Atari +.ds doc-volume-as-bebox BEbox +.ds doc-volume-as-cobalt Cobalt +.ds doc-volume-as-evbsh3 Evbsh3 +.ds doc-volume-as-hp300 HP300 +.ds doc-volume-as-hpcmips HPcmips +.ds doc-volume-as-i386 i386 +.ds doc-volume-as-luna68k luna68k +.ds doc-volume-as-m68k m68k +.ds doc-volume-as-mac68k mac68k +.ds doc-volume-as-macppc macppc +.ds doc-volume-as-mips MIPS +.ds doc-volume-as-mmeye mmeye +.ds doc-volume-as-mvme68k mvme68k +.ds doc-volume-as-news68k news68k +.ds doc-volume-as-newsmips newsmips +.ds doc-volume-as-next68k next68k +.ds doc-volume-as-ofppc ofppc +.ds doc-volume-as-pc532 pc532 +.ds doc-volume-as-pmax pmax +.ds doc-volume-as-powerpc powerpc +.ds doc-volume-as-prep prep +.ds doc-volume-as-sgimips sgimips +.ds doc-volume-as-sh3 sh3 +.ds doc-volume-as-sparc SPARC +.ds doc-volume-as-sparc64 sparc64 +.ds doc-volume-as-sun3 sun3 +.ds doc-volume-as-tahoe Tahoe +.ds doc-volume-as-vax VAX +.ds doc-volume-as-x68k x68k . .de Dt . \" reset default arguments @@ -303,30 +304,24 @@ . ds doc-section \$2 . ie \B\$2 \{\ . if ((\$2 >= 1) & (\$2 <= 9)) \{\ -. ds doc-volume "\*[doc-volume-ds-URM] -. ie d doc-volume-ds-\$2 \ -. ds doc-volume "\*[doc-volume-ds-\$2] -. el \{ .ie ((\$2 > 1) & (\$2 < 6)) \ -. ds doc-volume "\*[doc-volume-ds-PRM] -. el \{ .ie (\$2 == 8) \ -. ds doc-volume "\*[doc-volume-ds-SMM] -. el \{ .if (\$2 == 9) \ -. ds doc-volume "\*[doc-volume-ds-KM] -. \}\}\}\}\} -. el \{ .ie "\$2"unass" .ds doc-volume DRAFT -. el \{ .ie "\$2"draft" .ds doc-volume DRAFT -. el \{ .ie "\$2"paper" .ds doc-volume UNTITLED -. el \ -. tm mdoc warning: .Dt: unknown section `\$2' (#\n[.c]) -. \}\}\}\} -. -. if \A\$3 \{\ -. if d doc-volume-ds-\$3 \ -. ds doc-volume "\*[doc-volume-ds-\$3] -. -. if d doc-volume-as-\$3 \ -. as doc-volume " \*[doc-volume-as-\$3] -. \} +. 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 +. el \{ .ie "\$2"paper" .ds doc-volume UNTITLED +. el \ +. tm mdoc warning: .Dt: unknown section `\$2' (#\n[.c]) +. \}\} +. if \A\$3 \{\ +. if d doc-volume-ds-\$3 \ +. ds doc-volume "\*[doc-volume-ds-\$3] +. \}\}\} . . if !"\$3"" \ . if "\*[doc-volume]"LOCAL" \ diff --git a/contrib/groff/tmac/groff_mdoc.man b/contrib/groff/tmac/groff_mdoc.man index b4b5430..a71cae6 100644 --- a/contrib/groff/tmac/groff_mdoc.man +++ b/contrib/groff/tmac/groff_mdoc.man @@ -705,15 +705,15 @@ Under the following sections are defined: .Pp .Bl -column LOCAL -offset indent -compact -.It Li 1 Ta "\*[volume-ds-1]" -.It Li 2 Ta "\*[volume-ds-2]" -.It Li 3 Ta "\*[volume-ds-3]" -.It Li 4 Ta "\*[volume-ds-4]" -.It Li 5 Ta "\*[volume-ds-5]" -.It Li 6 Ta "\*[volume-ds-6]" -.It Li 7 Ta "\*[volume-ds-7]" -.It Li 8 Ta "\*[volume-ds-8]" -.It Li 9 Ta "\*[volume-ds-9]" +.It Li 1 Ta "\*[volume-operating-system] \*[volume-ds-1]" +.It Li 2 Ta "\*[volume-operating-system] \*[volume-ds-2]" +.It Li 3 Ta "\*[volume-operating-system] \*[volume-ds-3]" +.It Li 4 Ta "\*[volume-operating-system] \*[volume-ds-4]" +.It Li 5 Ta "\*[volume-operating-system] \*[volume-ds-5]" +.It Li 6 Ta "\*[volume-operating-system] \*[volume-ds-6]" +.It Li 7 Ta "\*[volume-operating-system] \*[volume-ds-7]" +.It Li 8 Ta "\*[volume-operating-system] \*[volume-ds-8]" +.It Li 9 Ta "\*[volume-operating-system] \*[volume-ds-9]" .El .Pp . @@ -744,8 +744,9 @@ for .Ql LOCAL . Values from the previous table will specify a new volume name. If the third parameter is a keyword designating a computer architecture, -its value is appended to the volume name as specified by the second -parameter. By default, the following architecture keywords are defined: +its value is prepended to the default volume name as specified by the +second parameter. +By default, the following architecture keywords are defined: . \# we use `No' to avoid hyphenation .Bd -ragged -offset indent @@ -761,13 +762,13 @@ In the following examples, the left (which is identical to the right) and the middle part of the manual page header strings are shown. . .Bd -ragged -.Bl -tag -width ".Li .Dt\ FOO\ 2\ mac68k" -compact -offset indent +.Bl -tag -width ".Li .Dt\ FOO\ 2\ i386" -compact -offset indent .It Li ".Dt FOO 7" .Ql FOO(7) -.Ql System Reference Manual -.It Li ".Dt FOO 2 mac68k" +.Ql \*[volume-operating-system] \*[volume-ds-7] +.It Li ".Dt FOO 2 i386" .Ql FOO(2) -.Ql System Programmer's Manual (mac68k Architecture) +.Ql \*[volume-operating-system]/\*[volume-as-i386] \*[volume-ds-2] .It Li ".Dt FOO \*[q]\*[q] bar" .Ql FOO .Ql bar @@ -828,11 +829,11 @@ the release ID. 3, 4, 4.1, 4.2, 4.3, 4.3t, 4.3T, 4.3r, 4.3R, 4.4 .It NetBSD 0.8, 0.8a, 0.9, 0.9a, 1.0, 1.0a, 1.1, 1.2, 1.2a, 1.2b, 1.2c, 1.2d, 1.2e, -1.3, 1.3a, 1.4, 1.5 +1.3, 1.3a, 1.4, 1.5, 1.6 .It FreeBSD 1.0, 1.1, 1.1.5, 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5, 2.1.6, 2.1.7, 2.2, 2.2.1, 2.2.2, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 4.0, 4.1, -4.2, 5.0 +4.2, 4.3, 4.4, 4.5, 5.0 .El .Ed .Pp |