version 1.175, 2015/04/04 17:47:18 |
version 1.177, 2015/04/06 13:35:08 |
Line 768 pre_SS(DECL_ARGS) |
|
Line 768 pre_SS(DECL_ARGS) |
|
case ROFFT_HEAD: |
case ROFFT_HEAD: |
term_fontrepl(p, TERMFONT_BOLD); |
term_fontrepl(p, TERMFONT_BOLD); |
p->offset = term_len(p, 3); |
p->offset = term_len(p, 3); |
|
p->rmargin = mt->offset; |
|
p->trailspace = mt->offset; |
|
p->flags |= TERMP_NOBREAK | TERMP_BRIND; |
break; |
break; |
case ROFFT_BODY: |
case ROFFT_BODY: |
p->offset = mt->offset; |
p->offset = mt->offset; |
|
p->rmargin = p->maxrmargin; |
|
p->trailspace = 0; |
|
p->flags &= ~(TERMP_NOBREAK | TERMP_BRIND); |
break; |
break; |
default: |
default: |
break; |
break; |
Line 823 pre_SH(DECL_ARGS) |
|
Line 829 pre_SH(DECL_ARGS) |
|
case ROFFT_HEAD: |
case ROFFT_HEAD: |
term_fontrepl(p, TERMFONT_BOLD); |
term_fontrepl(p, TERMFONT_BOLD); |
p->offset = 0; |
p->offset = 0; |
|
p->rmargin = mt->offset; |
|
p->trailspace = mt->offset; |
|
p->flags |= TERMP_NOBREAK | TERMP_BRIND; |
break; |
break; |
case ROFFT_BODY: |
case ROFFT_BODY: |
p->offset = mt->offset; |
p->offset = mt->offset; |
|
p->rmargin = p->maxrmargin; |
|
p->trailspace = 0; |
|
p->flags &= ~(TERMP_NOBREAK | TERMP_BRIND); |
break; |
break; |
default: |
default: |
break; |
break; |
Line 867 pre_RS(DECL_ARGS) |
|
Line 879 pre_RS(DECL_ARGS) |
|
|
|
n = n->parent->head; |
n = n->parent->head; |
n->aux = SHRT_MAX + 1; |
n->aux = SHRT_MAX + 1; |
if (n->child != NULL && a2roffsu(n->child->string, &su, SCALE_EN)) |
if (n->child == NULL) |
|
n->aux = mt->lmargin[mt->lmargincur]; |
|
else if (a2roffsu(n->child->string, &su, SCALE_EN)) |
n->aux = term_hspan(p, &su) / 24; |
n->aux = term_hspan(p, &su) / 24; |
if (n->aux < 0 && (size_t)(-n->aux) > mt->offset) |
if (n->aux < 0 && (size_t)(-n->aux) > mt->offset) |
n->aux = -mt->offset; |
n->aux = -mt->offset; |