summaryrefslogtreecommitdiffstats
path: root/tbl.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-10 14:40:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-10 14:40:30 +0000
commitdede963eacb17dcdbe0624bf76ab3f4045147541 (patch)
treec83ed7ba5f2d938f2f5cd04b659ac67d5da157ee /tbl.7
parent4f674421b17961b1c6630a984ebea196eb7eed7a (diff)
downloadmandoc-dede963eacb17dcdbe0624bf76ab3f4045147541.tar.gz
First, make extra data cells be thrown away. This makes "dp->layout"
always hold, which cleans up the table stuff a bit. Second, set a "spans" value per data cell consisting of the number of skipped TBL_CELL_SPAN layout cells. Third, make tbl_term.c understand how to skip over spanned sections when iterating over the header queue. What remains is to calculate the widths of spanned cells.
Diffstat (limited to 'tbl.7')
-rw-r--r--tbl.78
1 files changed, 6 insertions, 2 deletions
diff --git a/tbl.7 b/tbl.7
index fe4ca7a5..abc2ba3a 100644
--- a/tbl.7
+++ b/tbl.7
@@ -209,8 +209,12 @@ Justify a number around its last decimal point.
If the decimal point is not found on the number, it's assumed to trail
the number.
.It Cm s
-This option is not supported by
-.Xr mandoc 1 .
+Span columns from the last non-span data cell.
+It is an error if spanning columns follow a
+.Cm \-
+or
+.Cm \(ba
+cell, or come first.
.It Cm a
Left-justify a literal string and pad with one space.
.It Cm ^