version 1.137, 2021/07/04 15:38:26 |
version 1.141, 2025/07/02 19:57:48 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2011-2021 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011-2021, 2025 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 494 print_offs(const char *v, int keywords) |
|
Line 494 print_offs(const char *v, int keywords) |
|
const char *end; |
const char *end; |
int sz; |
int sz; |
|
|
|
outflags &= ~MMAN_PP; |
print_line(".RS", MMAN_Bk_susp); |
print_line(".RS", MMAN_Bk_susp); |
|
|
/* Convert v into a number (of characters). */ |
/* Convert v into a number (of characters). */ |
Line 796 post_percent(DECL_ARGS) |
|
Line 797 post_percent(DECL_ARGS) |
|
if (mdoc_man_act(n->tok)->pre == pre_em) |
if (mdoc_man_act(n->tok)->pre == pre_em) |
font_pop(); |
font_pop(); |
|
|
|
if (n->parent == NULL || n->parent->tok != MDOC_Rs) |
|
return; |
|
|
if ((nn = roff_node_next(n)) != NULL) { |
if ((nn = roff_node_next(n)) != NULL) { |
np = roff_node_prev(n); |
np = roff_node_prev(n); |
nnn = nn == NULL ? NULL : roff_node_next(nn); |
nnn = nn == NULL ? NULL : roff_node_next(nn); |
|
|
Bl_stack[Bl_stack_len - 1]); |
Bl_stack[Bl_stack_len - 1]); |
print_word(buf); |
print_word(buf); |
|
|
/* Remeber to close out this .RS block later. */ |
/* Remember to close out this .RS block later. */ |
Bl_stack_post[Bl_stack_len - 1] = 1; |
Bl_stack_post[Bl_stack_len - 1] = 1; |
} |
} |
|
|
Line 1613 pre_lk(DECL_ARGS) |
|
Line 1617 pre_lk(DECL_ARGS) |
|
} |
} |
|
|
/* Link target. */ |
/* Link target. */ |
font_push('B'); |
|
print_word(link->string); |
print_word(link->string); |
font_pop(); |
|
|
|
/* Trailing punctuation. */ |
/* Trailing punctuation. */ |
while (punct != NULL) { |
while (punct != NULL) { |