summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-26 09:35:35 +0000
commit7d24aa6b61fc7c0a61348119c53447f5c9b1b892 (patch)
tree8a15230522126a4b7d1f5821880abdca2a1a1dc9 /mdoc.7
parent0088ea8a5565f33b588d35efb5383d380c1dabcc (diff)
downloadmandoc-7d24aa6b61fc7c0a61348119c53447f5c9b1b892.tar.gz
Fixed `Lb' to be in_line (reported by Ulrich Spoerlein).
Added `Lb' documentation to mdoc.7. Removed harmless but superfluous pre_lb check (was just NULL entries). Added regressions for `Lb' (NOTE that these will only run on new groff, as old groff doesn't support `Lb' at all).
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.726
1 files changed, 25 insertions, 1 deletions
diff --git a/mdoc.7 b/mdoc.7
index e833e6b3..24d67996 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -731,7 +731,9 @@ Note that the
macro is a
.Sx Block partial-implicit
only when invoked as the first macro
-in a SYNOPSIS section line, else it is
+in a
+.Em SYNOPSIS
+section line, else it is
.Sx In-line .
.Ss In-line
Closed by
@@ -1644,6 +1646,28 @@ and
.Ss \&In
.Ss \&It
.Ss \&Lb
+Specify a library.
+The calling syntax is as follows:
+.Pp
+.D1 \. Ns Sx \&Lb Cm library
+.Pp
+The
+.Cm library
+parameter may be a system library, such as
+.Cm libz
+or
+.Cm libpam ,
+in which case a small library description is printed next to the linker
+invocation; or a custom library, in which case the library name is
+printed in quotes.
+This is most commonly used in the
+.Em SYNOPSIS
+section as described in
+.Sx MANUAL STRUCTURE .
+.Pp
+Examples:
+.D1 \&.Lb libz
+.D1 \&.Lb mdoc
.Ss \&Li
.Ss \&Lk
Format a hyperlink.