Home
last modified time | relevance | path

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

123

/openbsd/usr.bin/mandoc/
H A Dmdoc_macro.c225 mdoc->last->parent : mdoc->last; in mdoc_endparse()
235 rew_last(mdoc, mdoc->meta.first); in mdoc_endparse()
273 mdoc_state(mdoc, mdoc->last); in rew_last()
275 mdoc->last = mdoc->last->parent; in rew_last()
277 mdoc_state(mdoc, mdoc->last); in rew_last()
308 n = mdoc->last; in rew_pending()
375 n = mdoc->last; in rew_elem()
845 rew_last(mdoc, mdoc->last); in in_line()
937 rew_last(mdoc, mdoc->last); in in_line()
1265 rew_last(mdoc, roff_head_alloc(mdoc, line, ppos, tok)); in blk_part_imp()
[all …]
H A Dmdoc_validate.c329 mdoc->last = mdoc->last->child; in mdoc_validate()
333 mdoc->last = mdoc->last->child; in mdoc_validate()
335 mdoc->last = mdoc->last->next; in mdoc_validate()
364 check_args(mdoc, mdoc->last); in mdoc_validate()
936 n = mdoc->last = mdoc->last->parent; in build_list()
972 mdoc->last = mdoc->last->parent; in post_ex()
1003 mdoc->last = mdoc->last->next; in post_lb()
1040 mdoc->last = mdoc->last->parent; in post_rv()
1576 mdoc->last->norm->Es = mdoc->last_es; in post_en()
1614 mdoc->last_es = mdoc->last; in post_es()
[all …]
H A Dmdoc.c63 if (mdoc->last->type != ROFFT_EQN || ln > mdoc->last->line) in mdoc_parseln()
64 mdoc->flags |= MDOC_NEWLINE; in mdoc_parseln()
88 roff_node_append(mdoc, p); in mdoc_tail_alloc()
89 mdoc->next = ROFF_NEXT_CHILD; in mdoc_tail_alloc()
104 roff_node_append(mdoc, p); in mdoc_endbody_alloc()
131 roff_node_append(mdoc, p); in mdoc_block_alloc()
154 roff_node_append(mdoc, p); in mdoc_elem_alloc()
169 n = mdoc->last; in mdoc_ptext()
239 switch (mdoc->last->type) { in mdoc_ptext()
241 sp = mdoc->last->string; in mdoc_ptext()
[all …]
H A Dmdoc_argv.c450 if (mdoc->flags & MDOC_PHRASELIT && in args()
453 mdoc->flags &= ~MDOC_PHRASELIT; in args()
455 mdoc->flags &= ~MDOC_PHRASEQL; in args()
481 mdoc->flags |= MDOC_PHRASEQL; in args()
483 mdoc->flags |= MDOC_PHRASEQN; in args()
501 mdoc->flags |= MDOC_PHRASEQN; in args()
527 if (mdoc->flags & MDOC_PHRASELIT || in args()
531 mdoc->flags |= MDOC_PHRASELIT; in args()
557 mdoc->flags &= ~MDOC_PHRASELIT; in args()
583 mdoc->flags &= ~MDOC_PHRASEQL; in args()
[all …]
H A Dmdoc_state.c166 mdoc_state(struct roff_man *mdoc, struct roff_node *n) in mdoc_state() argument
175 mdoc->flags |= MDOC_PBODY; in mdoc_state()
179 (*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 DMakefile13 SRCS+= mdoc.c mdoc_argv.c mdoc_macro.c mdoc_state.c mdoc_validate.c \
53 mdoc_validate.o mdoc.o att.o st.o
66 mansearch.h man.h mdoc.h roff.h
H A Dmdoc_markdown.c267 markdown_mdoc(void *arg, const struct roff_meta *mdoc) in markdown_mdoc() argument
270 md_word(mdoc->title); in markdown_mdoc()
271 if (mdoc->msec != NULL) { in markdown_mdoc()
274 md_word(mdoc->msec); in markdown_mdoc()
278 md_word(mdoc->vol); in markdown_mdoc()
279 if (mdoc->arch != NULL) { in markdown_mdoc()
281 md_word(mdoc->arch); in markdown_mdoc()
286 md_nodelist(mdoc->first->child); in markdown_mdoc()
289 md_word(mdoc->os); in markdown_mdoc()
291 md_word(mdoc->date); in markdown_mdoc()
/openbsd/regress/usr.bin/mandoc/roff/args/
H A Dmdoc.out_lint1 mandoc: mdoc.in:38:13: STYLE: whitespace at end of input line
2 mandoc: mdoc.in:42:14: STYLE: whitespace at end of input line
3 mandoc: mdoc.in:46:15: STYLE: whitespace at end of input line
4 mandoc: mdoc.in:86:25: STYLE: whitespace at end of input line
5 mandoc: mdoc.in:90:26: STYLE: whitespace at end of input line
6 mandoc: mdoc.in:94:27: STYLE: whitespace at end of input line
7 mandoc: mdoc.in:102:5: STYLE: unterminated quoted argument
8 mandoc: mdoc.in:103:9: STYLE: unterminated quoted argument
9 mandoc: mdoc.in:107:5: STYLE: unterminated quoted argument
11 mandoc: mdoc.in:108:9: STYLE: unterminated quoted argument
[all …]
H A DMakefile3 REGRESS_TARGETS = roff man mdoc esc infrec
4 LINT_TARGETS = roff man mdoc infrec
/openbsd/regress/usr.bin/mandoc/char/space/
H A DMakefile3 REGRESS_TARGETS = leading-mdoc leading-man multiple trailing-mdoc zerowidth
5 REGRESS_TARGETS += tab tab-filled tab-man esct-mdoc esct-man
12 LINT_TARGETS = trailing-mdoc tab tab-man esct-mdoc esct-man invalid
H A Desct-mdoc.out_lint1 mandoc: esct-mdoc.in:11:7: WARNING: tab in filled text
2 mandoc: esct-mdoc.in:15:7: WARNING: tab in filled text
3 mandoc: esct-mdoc.in:15:8: WARNING: tab in filled text
H A Dtrailing-mdoc.out_lint1 mandoc: trailing-mdoc.in:9:16: STYLE: whitespace at end of input line
2 mandoc: trailing-mdoc.in:11:12: STYLE: whitespace at end of input line
3 mandoc: trailing-mdoc.in:12:27: STYLE: whitespace at end of input line
/openbsd/regress/usr.bin/mandoc/roff/cond/
H A Dbefore-Dd.out_ascii7 In an old version of mandoc(1), mdoc(7) file format autodetection failed
9 mdoc(7) DDdd macro. The file was mishandled as man(7) and parsing failed
12 If the present document looks like a proper mdoc(7) document and the
/openbsd/regress/usr.bin/mandoc/roff/ft/
H A DMakefile3 REGRESS_TARGETS = badargs badargs-mdoc
5 LINT_TARGETS = badargs badargs-mdoc
H A Dbadargs-mdoc.out_lint1 mandoc: badargs-mdoc.in:14:7: ERROR: skipping excess arguments: ft ... bogus
2 mandoc: badargs-mdoc.in:12:2: WARNING: unknown font, skipping request: ft foo
/openbsd/regress/usr.bin/mandoc/roff/sp/
H A DMakefile3 REGRESS_TARGETS = badargs-man badargs-mdoc fill-man
4 REGRESS_TARGETS += negative scaling-man scaling-mdoc
/openbsd/regress/usr.bin/mandoc/char/unicode/
H A DMakefile4 REGRESS_TARGETS += man mdoc named namediff nogroff
5 SKIP_ASCII = man mdoc
/openbsd/regress/usr.bin/mandoc/roff/de/
H A DMakefile27 ${MANDOC} ${MOPTS} -Ios=OpenBSD -Tascii -mdoc Dd_opt.in > ${.TARGET}
33 ${GROFF} -Tascii -mdoc Dd_opt.in > ${.TARGET}
/openbsd/regress/usr.bin/mandoc/char/bar/
H A DMakefile3 REGRESS_TARGETS = man mdoc
/openbsd/regress/usr.bin/mandoc/char/hyphen/
H A DMakefile3 REGRESS_TARGETS=man mdoc
/openbsd/regress/usr.bin/mandoc/roff/ta/
H A DMakefile3 REGRESS_TARGETS = basic-mdoc basic-man
/openbsd/regress/usr.bin/mandoc/roff/po/
H A DMakefile3 REGRESS_TARGETS = basic-mdoc range
/openbsd/regress/usr.bin/mandoc/tbl/opt/
H A DMakefile3 REGRESS_TARGETS = box center center-mdoc invalid
/openbsd/regress/usr.bin/mandoc/roff/ti/
H A DMakefile3 REGRESS_TARGETS = basic-mdoc basic-man wide
/openbsd/regress/usr.bin/mandoc/
H A DMakefile3 SUBDIR += roff char mdoc man tbl eqn db

123