version 1.277, 2014/08/17 08:37:11 |
version 1.278, 2014/08/17 16:44:41 |
Line 807 termp_it_pre(DECL_ARGS) |
|
Line 807 termp_it_pre(DECL_ARGS) |
|
* this as a `-ohang' list instead. |
* this as a `-ohang' list instead. |
*/ |
*/ |
if (NULL != n->next && |
if (NULL != n->next && |
NULL != n->next->child && |
NULL != n->next->child && |
(MDOC_Bl == n->next->child->tok || |
(MDOC_Bl == n->next->child->tok || |
MDOC_Bd == n->next->child->tok)) |
MDOC_Bd == n->next->child->tok)) |
break; |
break; |
|
|
p->flags |= TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG; |
p->flags |= TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG; |
Line 864 termp_it_pre(DECL_ARGS) |
|
Line 864 termp_it_pre(DECL_ARGS) |
|
* using `Bd' or `Bl' within `-hang' overstep lists. |
* using `Bd' or `Bl' within `-hang' overstep lists. |
*/ |
*/ |
if (MDOC_HEAD == n->type && |
if (MDOC_HEAD == n->type && |
NULL != n->next && |
NULL != n->next && |
NULL != n->next->child && |
NULL != n->next->child && |
(MDOC_Bl == n->next->child->tok || |
(MDOC_Bl == n->next->child->tok || |
MDOC_Bd == n->next->child->tok)) |
MDOC_Bd == n->next->child->tok)) |
break; |
break; |
/* FALLTHROUGH */ |
/* FALLTHROUGH */ |
case LIST_bullet: |
case LIST_bullet: |
Line 1031 termp_nm_pre(DECL_ARGS) |
|
Line 1031 termp_nm_pre(DECL_ARGS) |
|
synopsis_pre(p, n->parent); |
synopsis_pre(p, n->parent); |
|
|
if (MDOC_HEAD == n->type && |
if (MDOC_HEAD == n->type && |
NULL != n->next && NULL != n->next->child) { |
NULL != n->next && NULL != n->next->child) { |
p->flags |= TERMP_NOSPACE | TERMP_NOBREAK | TERMP_BRIND; |
p->flags |= TERMP_NOSPACE | TERMP_NOBREAK | TERMP_BRIND; |
p->trailspace = 1; |
p->trailspace = 1; |
p->rmargin = p->offset + term_len(p, 1); |
p->rmargin = p->offset + term_len(p, 1); |
Line 1060 termp_nm_post(DECL_ARGS) |
|
Line 1060 termp_nm_post(DECL_ARGS) |
|
if (MDOC_BLOCK == n->type) { |
if (MDOC_BLOCK == n->type) { |
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP); |
p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP); |
} else if (MDOC_HEAD == n->type && |
} else if (MDOC_HEAD == n->type && |
NULL != n->next && NULL != n->next->child) { |
NULL != n->next && NULL != n->next->child) { |
term_flushln(p); |
term_flushln(p); |
p->flags &= ~(TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG); |
p->flags &= ~(TERMP_NOBREAK | TERMP_BRIND | TERMP_HANG); |
p->trailspace = 0; |
p->trailspace = 0; |