version 1.138, 2010/06/04 21:49:39 |
version 1.140, 2010/06/04 22:26:13 |
Line 1536 termp_fn_pre(DECL_ARGS) |
|
Line 1536 termp_fn_pre(DECL_ARGS) |
|
{ |
{ |
const struct mdoc_node *nn; |
const struct mdoc_node *nn; |
|
|
|
/* NB: MDOC_LINE has no effect on this macro! */ |
|
if (SEC_SYNOPSIS == n->sec) { |
|
if (n->prev && MDOC_Ft == n->prev->tok) |
|
term_newln(p); |
|
else if (n->prev) |
|
term_vspace(p); |
|
} |
|
|
term_fontpush(p, TERMFONT_BOLD); |
term_fontpush(p, TERMFONT_BOLD); |
term_word(p, n->child->string); |
term_word(p, n->child->string); |
term_fontpop(p); |
term_fontpop(p); |
|
|
termp_fn_post(DECL_ARGS) |
termp_fn_post(DECL_ARGS) |
{ |
{ |
|
|
if (n->sec == SEC_SYNOPSIS && n->next && MDOC_LINE & n->flags) |
/* NB: MDOC_LINE has no effect on this macro! */ |
term_vspace(p); |
if (SEC_SYNOPSIS == n->sec) |
|
term_newln(p); |
} |
} |
|
|
|
|