]> git.cameronkatri.com Git - mandoc.git/blobdiff - html.h
Finally get rid of the "overflow: auto" property of ".Bl-tag > dd"
[mandoc.git] / html.h
diff --git a/html.h b/html.h
index 242a63a8d62446650ed31e64877b657732d132f8..07a42a0c3578cc7077b46161fb42c83bc89c960d 100644 (file)
--- a/html.h
+++ b/html.h
@@ -1,7 +1,7 @@
-/*     $Id: html.h,v 1.103 2019/04/30 15:53:00 schwarze Exp $ */
+/* $Id: html.h,v 1.108 2020/04/18 20:40:10 schwarze Exp $ */
 /*
+ * Copyright (c) 2017, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2017, 2018, 2019 Ingo Schwarze <schwarze@openbsd.org>
  *
  * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * Internal interfaces for mandoc(1) HTML formatters.
+ * For use by the individual HTML formatters only.
  */
 
 enum   htmltag {
        TAG_HTML,
        TAG_HEAD,
-       TAG_BODY,
        TAG_META,
+       TAG_LINK,
+       TAG_STYLE,
        TAG_TITLE,
+       TAG_BODY,
        TAG_DIV,
-       TAG_IDIV,
        TAG_SECTION,
-       TAG_H1,
-       TAG_H2,
-       TAG_SPAN,
-       TAG_LINK,
-       TAG_BR,
-       TAG_A,
        TAG_TABLE,
        TAG_TR,
        TAG_TD,
@@ -40,15 +38,20 @@ enum        htmltag {
        TAG_DL,
        TAG_DT,
        TAG_DD,
+       TAG_H1,
+       TAG_H2,
        TAG_P,
        TAG_PRE,
-       TAG_VAR,
-       TAG_CITE,
+       TAG_A,
        TAG_B,
-       TAG_I,
+       TAG_CITE,
        TAG_CODE,
+       TAG_I,
        TAG_SMALL,
-       TAG_STYLE,
+       TAG_SPAN,
+       TAG_VAR,
+       TAG_BR,
+       TAG_MARK,
        TAG_MATH,
        TAG_MROW,
        TAG_MI,
@@ -120,8 +123,12 @@ void                 print_gen_comment(struct html *, struct roff_node *);
 void             print_gen_decls(struct html *);
 void             print_gen_head(struct html *);
 struct tag      *print_otag(struct html *, enum htmltag, const char *, ...);
+struct tag      *print_otag_id(struct html *, enum htmltag, const char *,
+                       struct roff_node *);
 void             print_tagq(struct html *, const struct tag *);
 void             print_stagq(struct html *, const struct tag *);
+void             print_tagged_text(struct html *, const char *,
+                       struct roff_node *);
 void             print_text(struct html *, const char *);
 void             print_tblclose(struct html *);
 void             print_tbl(struct html *, const struct tbl_span *);