Return to cgi.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.110, 2015/10/13 22:59:54 | version 1.112, 2015/10/22 22:06:43 | ||
---|---|---|---|
|
|
||
#include "mandoc_aux.h" | #include "mandoc_aux.h" | ||
#include "mandoc.h" | #include "mandoc.h" | ||
#include "roff.h" | #include "roff.h" | ||
#include "mdoc.h" | |||
#include "man.h" | |||
#include "main.h" | #include "main.h" | ||
#include "manconf.h" | #include "manconf.h" | ||
#include "mansearch.h" | #include "mansearch.h" | ||
|
|
||
vp = html_alloc(&conf); | vp = html_alloc(&conf); | ||
if (man->macroset == MACROSET_MDOC) | if (man->macroset == MACROSET_MDOC) { | ||
mdoc_validate(man); | |||
html_mdoc(vp, man); | html_mdoc(vp, man); | ||
else | } else { | ||
man_validate(man); | |||
html_man(vp, man); | html_man(vp, man); | ||
} | |||
html_free(vp); | html_free(vp); | ||
mparse_free(mp); | mparse_free(mp); |