Return to mdoc_man.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.122, 2017/06/14 22:51:25 | version 1.123, 2018/01/13 05:23:18 | ||
---|---|---|---|
|
|
||
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; | ||
|
|
||
} | } | ||
/* 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(); | ||
|
|
||
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; | ||
} | } | ||