version 1.281, 2022/09/11 09:12:47 |
version 1.282, 2023/11/13 19:13:00 |
|
|
{ |
{ |
struct roff_node *n, *nn; |
struct roff_node *n, *nn; |
struct termp *p; |
struct termp *p; |
size_t save_defindent; |
|
|
|
p = (struct termp *)arg; |
p = (struct termp *)arg; |
p->tcol->rmargin = p->maxrmargin = p->defrmargin; |
p->tcol->rmargin = p->maxrmargin = p->defrmargin; |
|
|
print_mdoc_nodelist(p, NULL, mdoc, n); |
print_mdoc_nodelist(p, NULL, mdoc, n); |
term_newln(p); |
term_newln(p); |
} else { |
} else { |
save_defindent = p->defindent; |
|
if (p->defindent == 0) |
|
p->defindent = 5; |
|
term_begin(p, print_mdoc_head, print_mdoc_foot, mdoc); |
term_begin(p, print_mdoc_head, print_mdoc_foot, mdoc); |
while (n != NULL && |
while (n != NULL && |
(n->type == ROFFT_COMMENT || |
(n->type == ROFFT_COMMENT || |
|
|
print_mdoc_nodelist(p, NULL, mdoc, n); |
print_mdoc_nodelist(p, NULL, mdoc, n); |
} |
} |
term_end(p); |
term_end(p); |
p->defindent = save_defindent; |
|
} |
} |
} |
} |
|
|