Lines Matching refs:h

40 			  struct html *h
116 struct html *h; in html_man() local
120 h = (struct html *)arg; in html_man()
123 if ((h->oflags & HTML_FRAGMENT) == 0) { in html_man()
124 print_gen_decls(h); in html_man()
125 print_otag(h, TAG_HTML, ""); in html_man()
127 print_gen_comment(h, n); in html_man()
128 t = print_otag(h, TAG_HEAD, ""); in html_man()
129 print_man_head(man, h); in html_man()
130 print_tagq(h, t); in html_man()
131 print_otag(h, TAG_BODY, ""); in html_man()
134 man_root_pre(man, h); in html_man()
135 t = print_otag(h, TAG_DIV, "c", "manual-text"); in html_man()
136 print_man_nodelist(man, n, h); in html_man()
137 print_tagq(h, t); in html_man()
138 man_root_post(man, h); in html_man()
139 print_tagq(h, NULL); in html_man()
143 print_man_head(const struct roff_meta *man, struct html *h) in print_man_head() argument
147 print_gen_head(h); in print_man_head()
149 print_otag(h, TAG_TITLE, ""); in print_man_head()
150 print_text(h, cp); in print_man_head()
158 print_man_node(man, n, h); in print_man_nodelist()
173 html_fillmode(h, ROFF_fi); in print_man_node()
174 else if (html_fillmode(h, ROFF_nf) == ROFF_nf && in print_man_node()
177 print_endline(h); in print_man_node()
183 print_endline(h); in print_man_node()
187 (h->flags & HTML_NONEWLINE) == 0) in print_man_node()
188 print_otag(h, TAG_BR, ""); in print_man_node()
190 h->flags |= HTML_NOSPACE; in print_man_node()
191 t = h->tag; in print_man_node()
193 print_text(h, n->string); in print_man_node()
196 t = h->tag; in print_man_node()
198 print_eqn(h, n->eqn); in print_man_node()
206 print_tbl(h, n->span); in print_man_node()
213 if (h->metac != ESCAPE_FONTROMAN) { in print_man_node()
214 h->metal = h->metac; in print_man_node()
215 h->metac = ESCAPE_FONTROMAN; in print_man_node()
223 if (h->tblt != NULL) in print_man_node()
224 print_tblclose(h); in print_man_node()
225 t = h->tag; in print_man_node()
228 roff_html_pre(h, n); in print_man_node()
230 print_stagq(h, t); in print_man_node()
236 n, h); in print_man_node()
241 print_man_nodelist(man, n->child, h); in print_man_node()
247 t = h->tag; in print_man_node()
255 print_tagq(h, t); in print_man_node()
260 print_stagq(h, t); in print_man_node()
264 man_root_pre(const struct roff_meta *man, struct html *h) in man_root_pre() argument
273 t = print_otag(h, TAG_TABLE, "c", "head"); in man_root_pre()
274 tt = print_otag(h, TAG_TR, ""); in man_root_pre()
276 print_otag(h, TAG_TD, "c", "head-ltitle"); in man_root_pre()
277 print_text(h, title); in man_root_pre()
278 print_stagq(h, tt); in man_root_pre()
280 print_otag(h, TAG_TD, "c", "head-vol"); in man_root_pre()
282 print_text(h, man->vol); in man_root_pre()
283 print_stagq(h, tt); in man_root_pre()
285 print_otag(h, TAG_TD, "c", "head-rtitle"); in man_root_pre()
286 print_text(h, title); in man_root_pre()
287 print_tagq(h, t); in man_root_pre()
292 man_root_post(const struct roff_meta *man, struct html *h) in man_root_post() argument
296 t = print_otag(h, TAG_TABLE, "c", "foot"); in man_root_post()
297 tt = print_otag(h, TAG_TR, ""); in man_root_post()
299 print_otag(h, TAG_TD, "c", "foot-date"); in man_root_post()
300 print_text(h, man->date); in man_root_post()
301 print_stagq(h, tt); in man_root_post()
303 print_otag(h, TAG_TD, "c", "foot-os"); in man_root_post()
305 print_text(h, man->os); in man_root_post()
306 print_tagq(h, t); in man_root_post()
324 html_close_paragraph(h); in man_SH_pre()
325 print_otag(h, TAG_SECTION, "c", class); in man_SH_pre()
328 print_otag_id(h, tag, class, n); in man_SH_pre()
371 h->flags |= HTML_NOSPACE; in man_alt_pre()
374 t = print_otag(h, fp, ""); in man_alt_pre()
376 print_text(h, nn->string); in man_alt_pre()
379 print_tagq(h, t); in man_alt_pre()
387 print_otag(h, TAG_SMALL, ""); in man_SM_pre()
389 print_otag(h, TAG_B, ""); in man_SM_pre()
398 html_close_paragraph(h); in man_PP_pre()
405 print_otag(h, TAG_P, "c", in man_PP_pre()
481 html_close_paragraph(h); in man_IP_pre()
483 print_otag(h, list_elem, "c", list_class); in man_IP_pre()
488 print_otag_id(h, TAG_DT, NULL, n); in man_IP_pre()
491 print_otag(h, body_elem, ""); in man_IP_pre()
499 print_man_node(man, n->child, h); in man_IP_pre()
507 print_man_node(man, nn, h); in man_IP_pre()
522 print_text(h, "["); in man_OP_pre()
523 h->flags |= HTML_NOSPACE; in man_OP_pre()
524 tt = print_otag(h, TAG_SPAN, "c", "Op"); in man_OP_pre()
527 print_otag(h, TAG_B, ""); in man_OP_pre()
528 print_text(h, n->string); in man_OP_pre()
531 print_stagq(h, tt); in man_OP_pre()
534 print_otag(h, TAG_I, ""); in man_OP_pre()
535 print_text(h, n->next->string); in man_OP_pre()
538 print_stagq(h, tt); in man_OP_pre()
539 h->flags |= HTML_NOSPACE; in man_OP_pre()
540 print_text(h, "]"); in man_OP_pre()
547 print_otag(h, TAG_B, ""); in man_B_pre()
554 print_otag(h, TAG_I, ""); in man_I_pre()
561 print_otag(h, TAG_BR, ""); in man_in_pre()
576 html_close_paragraph(h); in man_RS_pre()
581 print_otag(h, TAG_DIV, "c", "Bd-indent"); in man_RS_pre()
594 html_close_paragraph(h); in man_SY_pre()
595 print_otag(h, TAG_TABLE, "c", "Nm"); in man_SY_pre()
596 print_otag(h, TAG_TR, ""); in man_SY_pre()
599 print_otag(h, TAG_TD, ""); in man_SY_pre()
600 print_otag(h, TAG_CODE, "c", "Nm"); in man_SY_pre()
603 print_otag(h, TAG_TD, ""); in man_SY_pre()
622 print_otag(h, TAG_A, "ch", "Mt", cp); in man_UR_pre()
625 print_otag(h, TAG_A, "ch", "Lk", n->child->string); in man_UR_pre()
632 print_man_nodelist(man, n->child, h); in man_UR_pre()