summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-10-09 15:49:09 +0000
committerschwarze <schwarze@openbsd.org>2014-10-09 15:49:09 +0000
commit933d2e00494223345f40ad103193270db8d73713 (patch)
treecd2796074d2be70d6d64d83e27e5d56889327cc5 /usr.bin/mandoc/html.h
parentmore readable eqn(7) -Ttree output; from kristaps@ (diff)
downloadwireguard-openbsd-933d2e00494223345f40ad103193270db8d73713.tar.xz
wireguard-openbsd-933d2e00494223345f40ad103193270db8d73713.zip
initial bits of MathML rendering for eqn(7) -Thtml;
written by kristaps@ during EuroBSDCon
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index 784992c51dc..f7b97d06f18 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.25 2014/10/07 18:17:05 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.26 2014/10/09 15:49:09 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -50,6 +50,19 @@ enum htmltag {
TAG_CODE,
TAG_SMALL,
TAG_STYLE,
+ TAG_MATH,
+ TAG_MROW,
+ TAG_MI,
+ TAG_MO,
+ TAG_MSUP,
+ TAG_MSUB,
+ TAG_MSUBSUP,
+ TAG_MFRAC,
+ TAG_MSQRT,
+ TAG_MFENCED,
+ TAG_MTABLE,
+ TAG_MTR,
+ TAG_MTD,
TAG_MAX
};
@@ -64,6 +77,8 @@ enum htmlattr {
ATTR_ID,
ATTR_COLSPAN,
ATTR_CHARSET,
+ ATTR_OPEN,
+ ATTR_CLOSE,
ATTR_MAX
};