=================================================================== RCS file: /cvs/mandoc/html.h,v retrieving revision 1.32 retrieving revision 1.35 diff -u -p -r1.32 -r1.35 --- mandoc/html.h 2010/12/20 10:40:11 1.32 +++ mandoc/html.h 2010/12/24 00:46:49 1.35 @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.32 2010/12/20 10:40:11 kristaps Exp $ */ +/* $Id: html.h,v 1.35 2010/12/24 00:46:49 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -47,6 +47,10 @@ enum htmltag { TAG_P, TAG_PRE, TAG_B, + TAG_I, + TAG_U, + TAG_CODE, + TAG_SMALL, TAG_MAX }; @@ -120,9 +124,9 @@ struct html { char *style; char buf[BUFSIZ]; size_t buflen; - struct tag *metaf; - enum htmlfont metal; - enum htmlfont metac; + struct tag *metaf; /* current open font scope */ + enum htmlfont metal; /* last used font */ + enum htmlfont metac; /* current font mode */ enum htmltype type; }; @@ -130,7 +134,6 @@ struct roffsu; void print_gen_decls(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 *);