summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-30 20:10:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-30 20:10:02 +0000
commitb1573399d364f789f4e71b2dc02d52688bdd1605 (patch)
treeb001869ef99a8d43fed78d8b8891370fbebd7e8c /mdoc.7
parent43e328cce4bb9763404660bc28b055e4959842f3 (diff)
downloadmandoc-b1573399d364f789f4e71b2dc02d52688bdd1605.tar.gz
Major bugsquashing with respect to -offset and -width:
1. Support specifying the .Bd and .Bl -offset as a macro default width; while here, simplify the code handling the same for .Bl -width. 2. Correct handling of .Bl -offset arguments: unlike .Bd -offset, the arguments "left", "indent", and "indent-two" have no special meaning. 3. Fix the scaling of string length -offset and -width arguments in -Thtml. Triggered by an incomplete documentation patch from bentley@.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.77
1 files changed, 5 insertions, 2 deletions
diff --git a/mdoc.7 b/mdoc.7
index 1799628e..9aa77fd1 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -937,8 +937,11 @@ The
.Fl width
and
.Fl offset
-arguments accept scaling widths as described in
-.Xr roff 7
+arguments accept macro names as described for
+.Sx \&Bd
+.Fl offset ,
+scaling widths as described in
+.Xr roff 7 ,
or use the length of the given string.
The
.Fl offset