version 1.106, 2020/01/19 18:02:00 |
version 1.112, 2022/07/06 14:34:59 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
|
* Copyright (c) 2017, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> |
* 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 |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* 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 { |
enum htmltag { |
|
|
TAG_STYLE, |
TAG_STYLE, |
TAG_TITLE, |
TAG_TITLE, |
TAG_BODY, |
TAG_BODY, |
|
TAG_MAIN, |
TAG_DIV, |
TAG_DIV, |
TAG_SECTION, |
TAG_SECTION, |
|
TAG_NAV, |
TAG_TABLE, |
TAG_TABLE, |
TAG_TR, |
TAG_TR, |
TAG_TD, |
TAG_TD, |
|
|
TAG_DL, |
TAG_DL, |
TAG_DT, |
TAG_DT, |
TAG_DD, |
TAG_DD, |
TAG_H1, |
|
TAG_H2, |
TAG_H2, |
|
TAG_H3, |
TAG_P, |
TAG_P, |
TAG_PRE, |
TAG_PRE, |
TAG_A, |
TAG_A, |
|
|
TAG_SPAN, |
TAG_SPAN, |
TAG_VAR, |
TAG_VAR, |
TAG_BR, |
TAG_BR, |
|
TAG_HR, |
TAG_MARK, |
TAG_MARK, |
TAG_MATH, |
TAG_MATH, |
TAG_MROW, |
TAG_MROW, |
Line 120 void print_gen_comment(struct html *, struct roff_n |
|
Line 126 void print_gen_comment(struct html *, struct roff_n |
|
void print_gen_decls(struct html *); |
void print_gen_decls(struct html *); |
void print_gen_head(struct html *); |
void print_gen_head(struct html *); |
struct tag *print_otag(struct html *, enum htmltag, const char *, ...); |
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_tagq(struct html *, const struct tag *); |
void print_stagq(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_text(struct html *, const char *); |
void print_tblclose(struct html *); |
void print_tblclose(struct html *); |
void print_tbl(struct html *, const struct tbl_span *); |
void print_tbl(struct html *, const struct tbl_span *); |