version 1.104, 2019/08/29 17:57:29 |
version 1.107, 2020/03/13 15:32:28 |
|
|
/* $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_TITLE, |
TAG_TITLE, |
TAG_BODY, |
TAG_BODY, |
TAG_DIV, |
TAG_DIV, |
TAG_IDIV, |
|
TAG_SECTION, |
TAG_SECTION, |
TAG_TABLE, |
TAG_TABLE, |
TAG_TR, |
TAG_TR, |
|
|
TAG_SPAN, |
TAG_SPAN, |
TAG_VAR, |
TAG_VAR, |
TAG_BR, |
TAG_BR, |
|
TAG_MARK, |
TAG_MATH, |
TAG_MATH, |
TAG_MROW, |
TAG_MROW, |
TAG_MI, |
TAG_MI, |
Line 120 void print_gen_comment(struct html *, struct roff_n |
|
Line 123 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_text(struct html *, const char *); |
void print_text(struct html *, const char *); |