diff options
author | ru <ru@FreeBSD.org> | 2003-09-20 21:13:43 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-09-20 21:13:43 +0000 |
commit | 6f34f71446fc0bc971b57a1a5581d4e656069969 (patch) | |
tree | 852c963eb2a40ebeb7571551dc9079c701bddcdf /contrib/groff/tmac/groff_mdoc.man | |
parent | b34dca6d6a0464c6c845104c3bf1570b5571fc26 (diff) | |
download | FreeBSD-src-6f34f71446fc0bc971b57a1a5581d4e656069969.zip FreeBSD-src-6f34f71446fc0bc971b57a1a5581d4e656069969.tar.gz |
Keep up with recent mdoc(7) changes, that include:
- If no .Os call is made, don't print the OS info at all.
- Allow for multiple .Lb calls in the LIBRARY section.
- Improved documentation on punctuation characters.
Diffstat (limited to 'contrib/groff/tmac/groff_mdoc.man')
-rw-r--r-- | contrib/groff/tmac/groff_mdoc.man | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/contrib/groff/tmac/groff_mdoc.man b/contrib/groff/tmac/groff_mdoc.man index 6ad2100..7af5914 100644 --- a/contrib/groff/tmac/groff_mdoc.man +++ b/contrib/groff/tmac/groff_mdoc.man @@ -786,7 +786,7 @@ In the following examples, the left (which is identical to the right) and the middle part of the manual page header strings are shown. Note how .Ql \e& -prevents the digit\~1 from being a valid numeric expression. +prevents the digit\~7 from being a valid numeric expression. . .Bd -ragged .Bl -tag -width ".Li .Dt\ FOO\ 2\ i386" -compact -offset indent @@ -1108,6 +1108,15 @@ distinguishing it from the argument strings. To remove the special meaning from a punctuation character escape it with .Ql \e& . .Pp +The following punctuation characters are recognized by +.Nm \-mdoc : +. +.Bl -column -offset indent-two XXXXXX XXXXXX XXXXXX XXXXXX +.It Li .\& Ta Li ,\& Ta Li :\& Ta Li ;\& Ta Li (\& +.It Li )\& Ta Li [\& Ta Li ]\& Ta Li ?\& Ta Li !\& +.El +.Pp +. .Xr Troff is limited as a macro language, and has difficulty when presented with a string containing a member of the mathematical, logical or quotation set: @@ -1693,6 +1702,13 @@ look for strings named then denotes the keyword to be used with the .Ql .Lb macro. +.Pp +In the +.Sx LIBRARY +section an +.Ql .Lb +command causes a line break before and after its arguments are printed. +.Pp . .Ss Literals . |