diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-04 22:16:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-05-04 22:16:09 +0000 |
commit | d4309408b94eb36fcea040582e8579967cb7878b (patch) | |
tree | 44fea1faa208f7aa8d912a43b25ee25ae1c50375 /html.h | |
parent | 6cff4f9d35431af8274477e9e1cd8dbb193f159a (diff) | |
download | mandoc-d4309408b94eb36fcea040582e8579967cb7878b.tar.gz mandoc-d4309408b94eb36fcea040582e8579967cb7878b.tar.zst mandoc-d4309408b94eb36fcea040582e8579967cb7878b.zip |
Start roff formatter modules for HTML and termininal output,
used by both the mdoc and man formatters, with the ultimate
goal of reducing code duplication between the two macro formatters.
Made possible by the parser unification.
Add the first formatting function (for the .br request).
Diffstat (limited to 'html.h')
-rw-r--r-- | html.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.h,v 1.84 2017/03/15 11:29:53 schwarze Exp $ */ +/* $Id: html.h,v 1.85 2017/05/04 22:16:09 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -116,6 +116,8 @@ struct roff_node; struct tbl_span; struct eqn; +void roff_html_pre(struct html *, const 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 *, ...); |