From 9e1c8c4504be3ee8555871134f21b59fba7bd8ac Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 12 Jun 2010 11:41:50 +0000 Subject: Removed stipulation that an empty `Bd -offset' will default to 6n. Not sure where this came about. Added regression tests to convince myself that this is so. Also consolidated COMPATIBILITY notes regarding `Bd'. Added COMPATIBILITY note to the effect that old groff pukes on `Bd -compact -ragged' (regression test will fail on old groff). --- mdoc.7 | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index c52dae19..bc5f1ee3 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.125 2010/06/12 10:09:19 kristaps Exp $ +.\" $Id: mdoc.7,v 1.126 2010/06/12 11:41:50 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -1094,10 +1094,7 @@ As a scaling unit following the syntax described in As the calculated string length of the opaque string. .El .Pp -If unset, it will revert to the value of -.Ar 8n -as described in -.Sx Scaling Widths . +If not provided an argument, it will be ignored. .It Fl compact Do not assert a vertical space before the block. .It Fl file Ar file @@ -2169,11 +2166,8 @@ Heirloom troff, the other significant troff implementation accepting .Pp .Bl -dash -compact .It -groff supports a -.Fl file Ar filename -argument to -.Sx \&Bd . -mandoc does not. +Old groff fails to assert a newline before +.Sx \&Bd Fl ragged compact . .It groff behaves inconsistently when encountering .Pf non- Sx \&Fa @@ -2249,16 +2243,15 @@ In quoted literals, groff allowed pair-wise double-quotes to produce a standalone double-quote in formatted output. This idiosyncratic behaviour is not applicable in mandoc. .It -Display types +Display offsets .Sx \&Bd -.Fl center +.Fl offset Ar center and -.Fl right -are aliases for -.Fl left -in mandoc. Furthermore, the +.Fl offset Ar right +are disregarded in mandoc. +Furthermore, the .Fl file Ar file -argument is ignored. +argument is not supported in mandoc. Lastly, since text is not right-justified in mandoc (or even groff), .Fl ragged and -- cgit v1.2.3