diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-12 17:58:21 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-12 17:58:21 +0000 |
commit | b5dc2a38cb6196ba190ee2a75bc4d0cb0e0856ea (patch) | |
tree | 1b0fbf6fb91332a4b5a9b2365e959aa466971a11 /mdoc_html.c | |
parent | 05c1408b281441f3ec02a7ae478be405fab9635a (diff) | |
download | mandoc-b5dc2a38cb6196ba190ee2a75bc4d0cb0e0856ea.tar.gz |
Make the tag column in .Bl -tag lists wider:
1. I forgot about the 2n padding between tag and body.
2. The factor 1.1 was too small for bold fold, make it *1.15 + 1n.
Ugliness spotted by tb@.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index db85b3a7..46d6d94c 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -768,7 +768,7 @@ mdoc_it_pre(MDOC_ARGS) (n->parent->prev == NULL || n->parent->prev->body == NULL || n->parent->prev->body->child != NULL)) { - t = print_otag(h, TAG_DT, "csWl", + t = print_otag(h, TAG_DT, "csw+-l", cattr, bl->norm->Bl.width); print_text(h, "\\ "); print_tagq(h, t); @@ -776,7 +776,7 @@ mdoc_it_pre(MDOC_ARGS) print_text(h, "\\ "); print_tagq(h, t); } - print_otag(h, TAG_DT, "csWl", cattr, + print_otag(h, TAG_DT, "csw+-l", cattr, bl->norm->Bl.width); break; case ROFFT_BODY: @@ -839,7 +839,7 @@ mdoc_bl_pre(MDOC_ARGS) t = print_otag(h, TAG_COLGROUP, ""); for (i = 0; i < bl->ncols - 1; i++) - print_otag(h, TAG_COL, "sww", bl->cols[i]); + print_otag(h, TAG_COL, "sw+w", bl->cols[i]); print_otag(h, TAG_COL, "swW", bl->cols[i]); print_tagq(h, t); return 0; @@ -886,7 +886,7 @@ mdoc_bl_pre(MDOC_ARGS) cattr = "Bl-tag"; if (bl->offs) print_otag(h, TAG_DIV, "cswl", cattr, bl->offs); - print_otag(h, TAG_DL, "cswl", cattr, bl->width); + print_otag(h, TAG_DL, "csw+l", cattr, bl->width); return 1; case LIST_column: elemtype = TAG_TABLE; |