summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-12-15 23:33:20 +0000
committerschwarze <schwarze@openbsd.org>2018-12-15 23:33:20 +0000
commit2e362670573772df48e61da5096089c663aa8351 (patch)
tree77a4aa3db8ddb748f639440325a56f97a9b35840 /usr.bin/mandoc/html.h
parentSeveral improvements to escape sequence handling. (diff)
downloadwireguard-openbsd-2e362670573772df48e61da5096089c663aa8351.tar.xz
wireguard-openbsd-2e362670573772df48e61da5096089c663aa8351.zip
Yet another round of improvements to manual font selection.
Unify handling of \f and .ft. Support \f4 (bold+italic). Support ".ft BI" and ".ft CW" for terminal output. Support the .ft request in HTML output. Reject the bogus fonts \f(C1, \f(C2, \f(C3, and \f(CP.
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 5604507e118..b16f973a918 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.57 2018/10/25 01:21:30 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.58 2018/12/15 23:33:20 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -125,6 +125,7 @@ void roff_html_pre(struct html *, const struct roff_node *);
void print_gen_comment(struct html *, struct roff_node *);
void print_gen_decls(struct html *);
void print_gen_head(struct html *);
+void print_metaf(struct html *, enum mandoc_esc);
struct tag *print_otag(struct html *, enum htmltag, const char *, ...);
void print_tagq(struct html *, const struct tag *);
void print_stagq(struct html *, const struct tag *);