| /src/external/bsd/mdocml/dist/ |
| mdoc_macro.c | 31 #include "mdoc.h" 220 mdoc_endparse(struct roff_man *mdoc) 226 n = mdoc->last->flags & NODE_VALID ? 227 mdoc->last->parent : mdoc->last; 237 rew_last(mdoc, mdoc->meta.first); 245 lookup(struct roff_man *mdoc, int from, int line, int ppos, const char *p) 249 if (mdoc->flags & MDOC_PHRASEQF) { 250 mdoc->flags &= ~MDOC_PHRASEQF [all...] |
| mdoc.c | 1 /* Id: mdoc.c,v 1.275 2020/04/06 10:16:17 schwarze Exp */ 18 * Top level and utility functions of the mdoc(7) parser for mandoc(1). 35 #include "mdoc.h" 62 mdoc_parseln(struct roff_man *mdoc, int ln, char *buf, int offs) 65 if (mdoc->last->type != ROFFT_EQN || ln > mdoc->last->line) 66 mdoc->flags |= MDOC_NEWLINE; 74 if (roff_getreg(mdoc->roff, "nS")) 75 mdoc->flags |= MDOC_SYNOPSIS; 77 mdoc->flags &= ~MDOC_SYNOPSIS [all...] |
| mdoc_validate.c | 19 * Validation module for mdoc(7) syntax trees used by mandoc(1). 40 #include "mdoc.h" 48 #define POST_ARGS struct roff_man *mdoc 300 /* Validate the subtree rooted at mdoc->last. */ 302 mdoc_validate(struct roff_man *mdoc) 313 n = mdoc->last; 319 post_obsolete(mdoc); 331 mdoc->last = mdoc->last->child; 332 while (mdoc->last != NULL) [all...] |
| mdoc_state.c | 28 #include "mdoc.h" 33 #define STATE_ARGS struct roff_man *mdoc, struct roff_node *n 167 mdoc_state(struct roff_man *mdoc, struct roff_node *n) 176 mdoc->flags |= MDOC_PBODY; 180 (*handler)(mdoc, n); 237 if ((mdoc->lastsec = n->sec) == SEC_SYNOPSIS) { 238 roff_setreg(mdoc->roff, "nS", 1, '='); 239 mdoc->flags |= MDOC_SYNOPSIS; 241 roff_setreg(mdoc->roff, "nS", 0, '='); 242 mdoc->flags &= ~MDOC_SYNOPSIS [all...] |
| manconf.h | 42 int mdoc; member in struct:manoutput
|
| mdoc_argv.c | 30 #include "mdoc.h" 277 mdoc_argv(struct roff_man *mdoc, int line, enum roff_tok tok, 348 argv_single(mdoc, line, &tmpv, &ipos, buf); 351 argv_multi(mdoc, line, &tmpv, &ipos, buf); 415 mdoc_args(struct roff_man *mdoc, int line, int *pos, 431 for (n = mdoc->last; n != NULL; n = n->parent) { 440 return args(mdoc, line, pos, buf, fl, v); 444 args(struct roff_man *mdoc, int line, int *pos, 452 if (mdoc->flags & MDOC_PHRASELIT && 453 ! (mdoc->flags & MDOC_PHRASE)) [all...] |
| libmdoc.h | 23 #define MACRO_PROT_ARGS struct roff_man *mdoc, \
|
| Makefile | 110 mdoc.c \ 200 mdoc.7 \ 201 mdoc.h \ 226 mdoc.o \ 348 mdoc.7.html \ 364 mdoc.h.html \ 427 $(INSTALL_MAN) mdoc.7 $(DESTDIR)$(MANDIR)/man7/$(MANM_MDOC).7 441 mdoc.h roff.h tbl.h $(DESTDIR)$(INCLUDEDIR) 500 rm -f $(DESTDIR)$(INCLUDEDIR)/mdoc.h
|
| mdoc_man.c | 29 #include "mdoc.h" 609 man_mdoc(void *arg, const struct roff_meta *mdoc) 613 printf(".\\\" Automatically generated from an mdoc input file." 615 for (n = mdoc->first->child; n != NULL; n = n->next) { 622 mdoc->title, (mdoc->msec == NULL ? "" : mdoc->msec), 623 mdoc->date, mdoc->os, mdoc->vol) [all...] |
| mdoc_markdown.c | 17 * Markdown formatter for mdoc(7) used by mandoc(1). 32 #include "mdoc.h" 269 markdown_mdoc(void *arg, const struct roff_meta *mdoc) 272 md_word(mdoc->title); 273 if (mdoc->msec != NULL) { 276 md_word(mdoc->msec); 280 md_word(mdoc->vol); 281 if (mdoc->arch != NULL) { 283 md_word(mdoc->arch); 288 md_nodelist(mdoc->first->child) [all...] |
| /src/external/gpl2/groff/tmac/man/ |
| Makefile | 15 MLINKS+= groff_mdoc.7 mdoc.7 groff_mdoc.7 mdoc.samples.7
|
| /src/distrib/notes/ |
| Makefile.inc | 98 ${TOOL_GROFF} ${ARGS_PS} ${GROFF_TIMESTAMP} -mdoc ${MAIN} \ 106 ${TOOL_GROFF} ${ARGS_TXT} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > $@ 112 ${TOOL_GROFF} ${ARGS_MORE} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > $@ 120 ${TOOL_GROFF} -dTOC=1 ${ARGS_PS} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > /dev/null 122 ${TOOL_GROFF} -dTOC=1 ${ARGS_PS} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > /dev/null 126 ${TOOL_GROFF} -dTOC=1 ${ARGS_TXT} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > /dev/null 134 ${TOOL_GROFF} -dTOC=1 ${ARGS_MORE} ${GROFF_TIMESTAMP} -mdoc ${MAIN} > /dev/null
|
| /src/external/bsd/openpam/dist/misc/ |
| gendoc.pl | 417 my $mdoc = ''; 425 $mdoc .= ".Xr $_" . 428 return $mdoc; 436 my $mdoc; 441 $mdoc = ".\\\"\t\$". 445 $mdoc .= ".\\\" Generated from $1 by gendoc.pl\n"; 447 $mdoc .= ".\\\" $$func{version}\n"; 449 $mdoc .= ".Dd $TODAY 457 $mdoc .= ".Sh LIBRARY 461 $mdoc .= ".Sh SYNOPSI [all...] |
| /src/doc/ |
| Makefile | 8 ${TOOL_MANDOC_ASCII} ${.CURDIR}/BUILDING.mdoc \
|
| /src/external/public-domain/sqlite/sqlite2mdoc/ |
| README.md | 5 [mdoc(7)](https://man.openbsd.org/mdoc.7) files 39 the [mdoc(7)](https://man.openbsd.org/mdoc.7) output.
|
| /src/share/doc/standards/xopen/ |
| Makefile | 21 ${TOOL_GROFF} ${ARGS_PS} -mdoc ${.ALLSRC} > $@ 24 ${TOOL_GROFF} ${ARGS_TXT} -mdoc ${.ALLSRC} > $@ 30 ${TOOL_GROFF} ${ARGS_MORE} -mdoc ${.ALLSRC} > $@
|
| /src/external/gpl2/groff/dist/src/roff/grog/ |
| grog.pl | 111 $mdoc++; 116 # In the old version of -mdoc `Oo' is a toggle, in the new it's 124 # new implementation of -mdoc) is not complete; it assumes that 206 elsif ($mdoc > 0) { 207 push(@command, ($mdoc_old || $Oo > 0) ? "-mdoc-old" : "-mdoc");
|
| /src/external/bsd/mdocml/man/ |
| Makefile | 18 mandoc_mdoc.7: ${DISTDIR}/mdoc.7 21 ${TOOL_CAT} ${DISTDIR}/mdoc.7 > ${.TARGET}
|
| /src/external/bsd/mdocml/lib/libmandoc/ |
| Makefile | 22 mdoc.c \
|
| /src/external/gpl2/groff/tmac/ |
| Makefile | 12 MDOCDIR?= ${TMACDIR}/mdoc 19 mdoc.tmac \ 42 STRIPFILES= e.tmac doc.tmac man.local mdoc.local 54 FILESNAME_$f-s=mdoc/$f
|
| /src/share/misc/ |
| Makefile | 8 mdoc.template na.phone na.postal style zipcodes
|
| /src/external/bsd/ntp/dist/ |
| bootstrap | 113 *.c|*.h|*.[1-9]*man|*.[1-9]*mdoc|*.man.in|*.mdoc.in|*-opts|*.texi|*.menu)
|
| /src/libexec/httpd/ |
| Makefile | 80 $(NROFF) -mdoc -Tascii $> | $(TXTFROB) > $@
|
| /src/external/bsd/ntp/dist/sntp/ |
| Makefile.am | 109 sntp.mdoc.in \ 149 $(srcdir)/sntp.mdoc.in \ 243 $(srcdir)/sntp.mdoc.in: $(srcdir)/sntp.1sntpmdoc $(srcdir)/scripts/mansec2subst.sed 244 sed -f $(srcdir)/scripts/mansec2subst.sed $(srcdir)/sntp.1sntpmdoc > $(srcdir)/sntp.mdoc.in+ 245 mv $(srcdir)/sntp.mdoc.in+ $(srcdir)/sntp.mdoc.in
|
| /src/share/mk/ |
| bsd.man.mk | 36 ${TMACDEPDIR}/mdoc/doc-common \ 37 ${TMACDEPDIR}/mdoc/doc-ditroff \ 38 ${TMACDEPDIR}/mdoc/doc-nroff \ 39 ${TMACDEPDIR}/mdoc/doc-syms
|