summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:25:10 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-05 19:25:10 +0000
commit87c03a0fbe8514b9b858e1145c56ec0ddc9f1b5c (patch)
tree3eb77a370eac58501b6004751ee8c0596df325a1
parent2e712df1dfa1da6a74cb8c59daa217db837730ce (diff)
downloadmandoc-87c03a0fbe8514b9b858e1145c56ec0ddc9f1b5c.tar.gz
mandoc-87c03a0fbe8514b9b858e1145c56ec0ddc9f1b5c.tar.zst
mandoc-87c03a0fbe8514b9b858e1145c56ec0ddc9f1b5c.zip
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).
-rw-r--r--mdoc.710
-rw-r--r--mdoc_term.c6
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 <kristaps@kth.se>
.\"
@@ -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 <kristaps@kth.se>
*
@@ -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);