diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-14 02:16:06 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-14 02:16:06 +0000 |
commit | 2db1b6bde4abe38f4836e766eac615660b2f85c2 (patch) | |
tree | f103cfddb098081641c520d96c4a4cb17d77c915 /tbl_layout.c | |
parent | 619229efd1f5f1aefbec0666e7effe0039234d0c (diff) | |
download | mandoc-2db1b6bde4abe38f4836e766eac615660b2f85c2.tar.gz |
Rudimentary implementation of the e, x, and z table layout modifiers
to equalize, maximize, and ignore the width of columns.
Does not yet take vertical rulers into account,
and does not do line breaks within table cells.
Considerably improves the lftp(1) manual; issue noticed by sthen@.
Diffstat (limited to 'tbl_layout.c')
-rw-r--r-- | tbl_layout.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tbl_layout.c b/tbl_layout.c index b78e8881..004f33cc 100644 --- a/tbl_layout.c +++ b/tbl_layout.c @@ -168,6 +168,9 @@ mod: goto mod; case 'w': /* XXX for now, ignore minimal column width */ goto mod; + case 'x': + cp->flags |= TBL_CELL_WMAX; + goto mod; case 'f': break; case 'r': |