From 87c03a0fbe8514b9b858e1145c56ec0ddc9f1b5c Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 5 Jul 2009 19:25:10 +0000 Subject: Backed out "-width indent" and "-width indent-two", which aren't supported by any groff mdoc tmac (and erroneously used in many manuals, hence the confusion). --- mdoc.7 | 10 ++-------- mdoc_term.c | 6 +----- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/mdoc.7 b/mdoc.7 index 0e09b8d9..520a8989 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.36 2009/07/04 11:04:07 kristaps Exp $ +.\" $Id: mdoc.7,v 1.37 2009/07/05 19:25:10 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -14,7 +14,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: July 4 2009 $ +.Dd $Mdocdate: July 5 2009 $ .Dt MDOC 7 .Os .\" SECTION @@ -527,12 +527,6 @@ file re-write .Bl -dash -compact .\" LIST-ITEM .It -The \-width argument to -.Sq \&.Bl -respects indent and indent-two (groff does too, but does not document -the fact). -.\" LIST-ITEM -.It Some character sequences in groff are not handled depending on escape style, e.g., .Sq \e(ba diff --git a/mdoc_term.c b/mdoc_term.c index e7329d2a..688aec86 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.20 2009/07/04 11:07:34 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.21 2009/07/05 19:25:10 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -532,10 +532,6 @@ arg_width(const struct mdoc_argv *arg, int pos) assert(pos < (int)arg->sz && pos >= 0); assert(arg->value[pos]); - if (0 == strcmp(arg->value[pos], "indent")) - return(INDENT + 3); - if (0 == strcmp(arg->value[pos], "indent-two")) - return(INDENT * 2 + 2); if (0 == (len = (int)strlen(arg->value[pos]))) return(0); -- cgit v1.2.3-56-ge451