=================================================================== RCS file: /cvs/mandoc/html.h,v retrieving revision 1.60 retrieving revision 1.62 diff -u -p -r1.60 -r1.62 --- mandoc/html.h 2014/09/27 09:26:01 1.60 +++ mandoc/html.h 2014/09/27 11:17:19 1.62 @@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.60 2014/09/27 09:26:01 kristaps Exp $ */ +/* $Id: html.h,v 1.62 2014/09/27 11:17:19 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * @@ -44,7 +44,6 @@ enum htmltag { TAG_DT, TAG_DD, TAG_BLOCKQUOTE, - TAG_P, TAG_PRE, TAG_B, TAG_I, @@ -101,11 +100,6 @@ struct htmlpair { #define PAIR_HREF_INIT(p, v) PAIR_INIT(p, ATTR_HREF, v) #define PAIR_STYLE_INIT(p, h) PAIR_INIT(p, ATTR_STYLE, (h)->buf) -enum htmltype { - HTML_HTML_4_01_STRICT, - HTML_XHTML_1_0_STRICT -}; - struct html { int flags; #define HTML_NOSPACE (1 << 0) /* suppress next space */ @@ -129,7 +123,6 @@ struct html { struct tag *metaf; /* current open font scope */ enum htmlfont metal; /* last used font */ enum htmlfont metac; /* current font mode */ - enum htmltype type; /* output media type */ int oflags; /* output options */ #define HTML_FRAGMENT (1 << 0) /* don't emit HTML/HEAD/BODY */ }; @@ -144,6 +137,7 @@ void print_text(struct html *, const char *); void print_tblclose(struct html *); void print_tbl(struct html *, const struct tbl_span *); void print_eqn(struct html *, const struct eqn *); +void print_paragraph(struct html *); #if __GNUC__ - 0 >= 4 __attribute__((__format__ (__printf__, 2, 3)))