Home
last modified time | relevance | path

Searched refs:mdoc (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc_macro.c227 mdoc->last->parent : mdoc->last; in mdoc_endparse()
237 rew_last(mdoc, mdoc->meta.first); in mdoc_endparse()
275 mdoc_state(mdoc, mdoc->last); in rew_last()
277 mdoc->last = mdoc->last->parent; in rew_last()
279 mdoc_state(mdoc, mdoc->last); in rew_last()
310 n = mdoc->last; in rew_pending()
377 n = mdoc->last; in rew_elem()
847 rew_last(mdoc, mdoc->last); in in_line()
939 rew_last(mdoc, mdoc->last); in in_line()
1267 rew_last(mdoc, roff_head_alloc(mdoc, line, ppos, tok)); in blk_part_imp()
[all …]
H A Dmdoc_validate.c331 mdoc->last = mdoc->last->child; in mdoc_validate()
335 mdoc->last = mdoc->last->child; in mdoc_validate()
337 mdoc->last = mdoc->last->next; in mdoc_validate()
366 check_args(mdoc, mdoc->last); in mdoc_validate()
938 n = mdoc->last = mdoc->last->parent; in build_list()
974 mdoc->last = mdoc->last->parent; in post_ex()
1018 mdoc->last = mdoc->last->next; in post_lb()
1055 mdoc->last = mdoc->last->parent; in post_rv()
1590 mdoc->last->norm->Es = mdoc->last_es; in post_en()
1628 mdoc->last_es = mdoc->last; in post_es()
[all …]
H A Dmdoc.c65 if (mdoc->last->type != ROFFT_EQN || ln > mdoc->last->line) in mdoc_parseln()
66 mdoc->flags |= MDOC_NEWLINE; in mdoc_parseln()
90 roff_node_append(mdoc, p); in mdoc_tail_alloc()
91 mdoc->next = ROFF_NEXT_CHILD; in mdoc_tail_alloc()
106 roff_node_append(mdoc, p); in mdoc_endbody_alloc()
133 roff_node_append(mdoc, p); in mdoc_block_alloc()
156 roff_node_append(mdoc, p); in mdoc_elem_alloc()
171 n = mdoc->last; in mdoc_ptext()
241 switch (mdoc->last->type) { in mdoc_ptext()
243 sp = mdoc->last->string; in mdoc_ptext()
[all …]
H A Dmdoc_argv.c452 if (mdoc->flags & MDOC_PHRASELIT && in args()
455 mdoc->flags &= ~MDOC_PHRASELIT; in args()
457 mdoc->flags &= ~MDOC_PHRASEQL; in args()
483 mdoc->flags |= MDOC_PHRASEQL; in args()
485 mdoc->flags |= MDOC_PHRASEQN; in args()
503 mdoc->flags |= MDOC_PHRASEQN; in args()
529 if (mdoc->flags & MDOC_PHRASELIT || in args()
533 mdoc->flags |= MDOC_PHRASELIT; in args()
559 mdoc->flags &= ~MDOC_PHRASELIT; in args()
585 mdoc->flags &= ~MDOC_PHRASEQL; in args()
[all …]
H A Dmdoc_state.c167 mdoc_state(struct roff_man *mdoc, struct roff_node *n) in mdoc_state() argument
176 mdoc->flags |= MDOC_PBODY; in mdoc_state()
180 (*handler)(mdoc, n); in mdoc_state()
237 if ((mdoc->lastsec = n->sec) == SEC_SYNOPSIS) { in state_sh()
238 roff_setreg(mdoc->roff, "nS", 1, '='); in state_sh()
239 mdoc->flags |= MDOC_SYNOPSIS; in state_sh()
241 roff_setreg(mdoc->roff, "nS", 0, '='); in state_sh()
242 mdoc->flags &= ~MDOC_SYNOPSIS; in state_sh()
251 mdoc->flags ^= MDOC_SMOFF; in state_sm()
253 mdoc->flags &= ~MDOC_SMOFF; in state_sm()
[all …]
H A Dmdoc_markdown.c269 markdown_mdoc(void *arg, const struct roff_meta *mdoc) in markdown_mdoc() argument
272 md_word(mdoc->title); in markdown_mdoc()
273 if (mdoc->msec != NULL) { in markdown_mdoc()
276 md_word(mdoc->msec); in markdown_mdoc()
280 md_word(mdoc->vol); in markdown_mdoc()
281 if (mdoc->arch != NULL) { in markdown_mdoc()
283 md_word(mdoc->arch); in markdown_mdoc()
288 md_nodelist(mdoc->first->child); in markdown_mdoc()
291 md_word(mdoc->os); in markdown_mdoc()
293 md_word(mdoc->date); in markdown_mdoc()
H A Dmanconf.h42 int mdoc; member
H A Dlibmdoc.h23 #define MACRO_PROT_ARGS struct roff_man *mdoc, \
H A Dmdoc_man.c609 man_mdoc(void *arg, const struct roff_meta *mdoc) in man_mdoc() argument
615 for (n = mdoc->first->child; n != NULL; n = n->next) { in man_mdoc()
622 mdoc->title, (mdoc->msec == NULL ? "" : mdoc->msec), in man_mdoc()
623 mdoc->date, mdoc->os, mdoc->vol); in man_mdoc()
635 print_node(mdoc, n); in man_mdoc()
H A Dtree.c49 tree_mdoc(void *arg, const struct roff_meta *mdoc) in tree_mdoc() argument
51 print_meta(mdoc); in tree_mdoc()
53 print_mdoc(mdoc->first->child, 0); in tree_mdoc()
H A DMakefile.common48 mdoc.o \
H A Dmdoc_html.c283 html_mdoc(void *arg, const struct roff_meta *mdoc) in html_mdoc() argument
290 n = mdoc->first->child; in html_mdoc()
298 print_mdoc_head(mdoc, h); in html_mdoc()
303 mdoc_root_pre(mdoc, h); in html_mdoc()
305 print_mdoc_nodelist(mdoc, n, h); in html_mdoc()
307 mdoc_root_post(mdoc, h); in html_mdoc()
H A Dpredefs.in20 * predefined strings from (e.g.) tmac/mdoc/doc-nroff. The left-hand
H A Dmdoc_term.c249 terminal_mdoc(void *arg, const struct roff_meta *mdoc) in terminal_mdoc() argument
261 n = mdoc->first->child; in terminal_mdoc()
275 print_mdoc_nodelist(p, NULL, mdoc, n); in terminal_mdoc()
281 term_begin(p, print_mdoc_head, print_mdoc_foot, mdoc); in terminal_mdoc()
289 print_mdoc_nodelist(p, NULL, mdoc, n); in terminal_mdoc()
H A Dterm_ascii.c125 if (outopts->mdoc) { in ascii_init()
H A Dmanpath.c342 conf->mdoc = 1; in manconf_output()
/illumos-gate/usr/src/man/man7/
H A DMakefile79 mdoc.7 \
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-man.p5m51 file path=usr/share/man/man7/mdoc.7