version 1.130, 2018/12/15 19:30:26 |
version 1.131, 2018/12/30 00:49:55 |
Line 602 print_count(int *count) |
|
Line 602 print_count(int *count) |
|
} |
} |
|
|
void |
void |
man_mdoc(void *arg, const struct roff_man *mdoc) |
man_mdoc(void *arg, const struct roff_meta *mdoc) |
{ |
{ |
struct roff_node *n; |
struct roff_node *n; |
|
|
Line 615 man_mdoc(void *arg, const struct roff_man *mdoc) |
|
Line 615 man_mdoc(void *arg, const struct roff_man *mdoc) |
|
} |
} |
|
|
printf(".TH \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"\n", |
printf(".TH \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"\n", |
mdoc->meta.title, |
mdoc->title, (mdoc->msec == NULL ? "" : mdoc->msec), |
(mdoc->meta.msec == NULL ? "" : mdoc->meta.msec), |
mdoc->date, mdoc->os, mdoc->vol); |
mdoc->meta.date, mdoc->meta.os, mdoc->meta.vol); |
|
|
|
/* Disable hyphenation and if nroff, disable justification. */ |
/* Disable hyphenation and if nroff, disable justification. */ |
printf(".nh\n.if n .ad l"); |
printf(".nh\n.if n .ad l"); |
Line 629 man_mdoc(void *arg, const struct roff_man *mdoc) |
|
Line 628 man_mdoc(void *arg, const struct roff_man *mdoc) |
|
*fontqueue.tail = 'R'; |
*fontqueue.tail = 'R'; |
} |
} |
for (; n != NULL; n = n->next) |
for (; n != NULL; n = n->next) |
print_node(&mdoc->meta, n); |
print_node(mdoc, n); |
putchar('\n'); |
putchar('\n'); |
} |
} |
|
|