version 1.4, 2009/12/24 02:08:14 |
version 1.5, 2010/02/18 02:11:26 |
|
|
TAG_DIV, |
TAG_DIV, |
TAG_H1, |
TAG_H1, |
TAG_H2, |
TAG_H2, |
TAG_P, |
|
TAG_SPAN, |
TAG_SPAN, |
TAG_LINK, |
TAG_LINK, |
TAG_BR, |
TAG_BR, |
|
|
TAG_LI, |
TAG_LI, |
TAG_UL, |
TAG_UL, |
TAG_OL, |
TAG_OL, |
TAG_BASE, |
|
TAG_MAX |
TAG_MAX |
}; |
}; |
|
|
|
|
do { (p)->key = ATTR_SUMMARY; \ |
do { (p)->key = ATTR_SUMMARY; \ |
(p)->val = (v); } while (/* CONSTCOND */ 0) |
(p)->val = (v); } while (/* CONSTCOND */ 0) |
|
|
|
enum htmltype { |
|
HTML_HTML_4_01_STRICT, |
|
HTML_XHTML_1_0_STRICT |
|
}; |
|
|
struct html { |
struct html { |
int flags; |
int flags; |
#define HTML_NOSPACE (1 << 0) |
#define HTML_NOSPACE (1 << 0) |
|
|
struct tag *metaf; |
struct tag *metaf; |
enum htmlfont metal; |
enum htmlfont metal; |
enum htmlfont metac; |
enum htmlfont metac; |
|
enum htmltype type; |
}; |
}; |
|
|
struct roffsu; |
struct roffsu; |
|
|
void print_gen_doctype(struct html *); |
void print_gen_decls(struct html *); |
void print_gen_head(struct html *); |
void print_gen_head(struct html *); |
struct tag *print_ofont(struct html *, enum htmlfont); |
struct tag *print_ofont(struct html *, enum htmlfont); |
struct tag *print_otag(struct html *, enum htmltag, |
struct tag *print_otag(struct html *, enum htmltag, |