diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-20 15:05:34 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-20 15:05:34 +0000 |
commit | c6666257b49db6fafacd3e238ad90baeb79952ad (patch) | |
tree | efb4885f03967439e61d2736dd36d7f63aa05cf5 /mdoc_term.c | |
parent | 205c0b3a2b64d0bd6f19e970acc354cc0851cd72 (diff) | |
download | mandoc-c6666257b49db6fafacd3e238ad90baeb79952ad.tar.gz mandoc-c6666257b49db6fafacd3e238ad90baeb79952ad.tar.zst mandoc-c6666257b49db6fafacd3e238ad90baeb79952ad.zip |
Undocumented behaviour in groff: `Bl -column' implies `-compact'.
mandoc now allows fewer columns than the -width specifies.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 5c49dd7d..8a600a7c 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.47 2009/07/19 08:24:16 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.48 2009/07/20 15:05:34 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -672,6 +672,9 @@ fmt_block_vspace(struct termp *p, if (arg_hasattr(MDOC_Compact, bl)) return(1); + /* XXX - not documented! */ + else if (arg_hasattr(MDOC_Column, bl)) + return(1); for (n = node; n; n = n->parent) { if (MDOC_BLOCK != n->type) |