diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-30 20:10:02 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-30 20:10:02 +0000 |
commit | acfdb709430f9bd1b754ed016c7fdef33d9f8b95 (patch) | |
tree | 5ba07a7edd9a8a9046cfa45a0b209a966e746289 /mdoc.7 | |
parent | cecb299f4405e3c5873b59d74e49a715a4bfe208 (diff) | |
download | mandoc-acfdb709430f9bd1b754ed016c7fdef33d9f8b95.tar.gz mandoc-acfdb709430f9bd1b754ed016c7fdef33d9f8b95.tar.zst mandoc-acfdb709430f9bd1b754ed016c7fdef33d9f8b95.zip |
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.7 | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.239 2014/10/20 17:59:20 schwarze Exp $ +.\" $Id: mdoc.7,v 1.240 2014/10/30 20:10:02 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010, 2011, 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: October 20 2014 $ +.Dd $Mdocdate: October 30 2014 $ .Dt MDOC 7 .Os .Sh NAME @@ -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 |