diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-16 06:07:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-11-16 06:07:49 +0000 |
commit | 77a404388af995dd280b4021ca59a652c5cc2982 (patch) | |
tree | 5c294dc314bbdbce7543cf410c128e32419e128f /html.h | |
parent | c993702f3a8c4d976aa9848cef460bb753bde12a (diff) | |
download | mandoc-77a404388af995dd280b4021ca59a652c5cc2982.tar.gz |
Abstraction of -Thtml -man font setting (still experimental).
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -62,6 +62,13 @@ enum htmlattr { ATTR_MAX }; +enum htmlfont { + HTMLFONT_NONE = 0, + HTMLFONT_BOLD, + HTMLFONT_ITALIC, + HTMLFONT_MAX +}; + struct tag { struct tag *next; enum htmltag tag; @@ -112,12 +119,15 @@ struct html { char buf[BUFSIZ]; size_t buflen; struct tag *metaf; + enum htmlfont metal; + enum htmlfont metac; }; struct roffsu; void print_gen_doctype(struct html *); void print_gen_head(struct html *); +struct tag *print_ofont(struct html *, enum htmlfont); struct tag *print_otag(struct html *, enum htmltag, int, const struct htmlpair *); void print_tagq(struct html *, const struct tag *); |