version 1.159, 2018/12/13 11:55:46 |
version 1.161, 2018/12/30 00:49:55 |
|
|
#include <string.h> |
#include <string.h> |
|
|
#include "mandoc_aux.h" |
#include "mandoc_aux.h" |
|
#include "mandoc.h" |
#include "roff.h" |
#include "roff.h" |
#include "man.h" |
#include "man.h" |
#include "out.h" |
#include "out.h" |
Line 138 print_bvspace(struct html *h, const struct roff_node * |
|
Line 139 print_bvspace(struct html *h, const struct roff_node * |
|
} |
} |
|
|
void |
void |
html_man(void *arg, const struct roff_man *man) |
html_man(void *arg, const struct roff_meta *man) |
{ |
{ |
struct html *h; |
struct html *h; |
struct roff_node *n; |
struct roff_node *n; |
Line 153 html_man(void *arg, const struct roff_man *man) |
|
Line 154 html_man(void *arg, const struct roff_man *man) |
|
if (n->type == ROFFT_COMMENT) |
if (n->type == ROFFT_COMMENT) |
print_gen_comment(h, n); |
print_gen_comment(h, n); |
t = print_otag(h, TAG_HEAD, ""); |
t = print_otag(h, TAG_HEAD, ""); |
print_man_head(&man->meta, h); |
print_man_head(man, h); |
print_tagq(h, t); |
print_tagq(h, t); |
print_otag(h, TAG_BODY, ""); |
print_otag(h, TAG_BODY, ""); |
} |
} |
|
|
man_root_pre(&man->meta, h); |
man_root_pre(man, h); |
t = print_otag(h, TAG_DIV, "c", "manual-text"); |
t = print_otag(h, TAG_DIV, "c", "manual-text"); |
print_man_nodelist(&man->meta, n, h); |
print_man_nodelist(man, n, h); |
print_tagq(h, t); |
print_tagq(h, t); |
man_root_post(&man->meta, h); |
man_root_post(man, h); |
print_tagq(h, NULL); |
print_tagq(h, NULL); |
} |
} |
|
|