version 1.121, 2017/06/14 13:00:31 |
version 1.124, 2018/04/05 08:47:16 |
Line 130 static const void_fp roff_manacts[ROFF_MAX] = { |
|
Line 130 static const void_fp roff_manacts[ROFF_MAX] = { |
|
pre_ft, /* ft */ |
pre_ft, /* ft */ |
pre_onearg, /* ll */ |
pre_onearg, /* ll */ |
pre_onearg, /* mc */ |
pre_onearg, /* mc */ |
|
pre_onearg, /* po */ |
pre_onearg, /* rj */ |
pre_onearg, /* rj */ |
pre_sp, /* sp */ |
pre_sp, /* sp */ |
pre_ta, /* ta */ |
pre_ta, /* ta */ |
Line 201 static const struct manact __manacts[MDOC_MAX - MDOC_D |
|
Line 202 static const struct manact __manacts[MDOC_MAX - MDOC_D |
|
{ NULL, pre_bk, post_bk, NULL, NULL }, /* Bx */ |
{ NULL, pre_bk, post_bk, NULL, NULL }, /* Bx */ |
{ NULL, pre_skip, NULL, NULL, NULL }, /* Db */ |
{ NULL, pre_skip, NULL, NULL, NULL }, /* Db */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Dc */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Dc */ |
{ cond_body, pre_enc, post_enc, "\\(Lq", "\\(Rq" }, /* Do */ |
{ cond_body, pre_enc, post_enc, "\\(lq", "\\(rq" }, /* Do */ |
{ cond_body, pre_enc, post_enc, "\\(Lq", "\\(Rq" }, /* Dq */ |
{ cond_body, pre_enc, post_enc, "\\(lq", "\\(rq" }, /* Dq */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Ec */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Ec */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Ef */ |
{ NULL, NULL, NULL, NULL, NULL }, /* Ef */ |
{ NULL, pre_em, post_font, NULL, NULL }, /* Em */ |
{ NULL, pre_em, post_font, NULL, NULL }, /* Em */ |
|
|
pre_lk(DECL_ARGS) |
pre_lk(DECL_ARGS) |
{ |
{ |
const struct roff_node *link, *descr, *punct; |
const struct roff_node *link, *descr, *punct; |
int display; |
|
|
|
if ((link = n->child) == NULL) |
if ((link = n->child) == NULL) |
return 0; |
return 0; |
Line 1569 pre_lk(DECL_ARGS) |
|
Line 1569 pre_lk(DECL_ARGS) |
|
} |
} |
|
|
/* Link target. */ |
/* Link target. */ |
display = man_strlen(link->string) >= 26; |
|
if (display) { |
|
print_line(".RS", MMAN_Bk_susp); |
|
print_word("6n"); |
|
outflags |= MMAN_nl; |
|
} |
|
font_push('B'); |
font_push('B'); |
print_word(link->string); |
print_word(link->string); |
font_pop(); |
font_pop(); |
Line 1584 pre_lk(DECL_ARGS) |
|
Line 1578 pre_lk(DECL_ARGS) |
|
print_word(punct->string); |
print_word(punct->string); |
punct = punct->next; |
punct = punct->next; |
} |
} |
if (display) |
|
print_line(".RE", MMAN_nl); |
|
return 0; |
return 0; |
} |
} |
|
|