summaryrefslogtreecommitdiffstats
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-10-10 08:44:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-10-10 08:44:24 +0000
commit56fe72aebb64bb54a4bbaf3edf6673253fafdf24 (patch)
treee745d5bbd763f04d5208104d8d03abd46e6b2663 /html.c
parentab00e3652ae08997f4eb0cd41e34c86874cd4eb9 (diff)
downloadmandoc-56fe72aebb64bb54a4bbaf3edf6673253fafdf24.tar.gz
Re-write of eqn(7) parser and MathML output.
This adds parser-level support for the grammar described by the eqn second-edition technical paper, "Typesetting Mathematics — User's Guide" (Kernighan, Cherry). The reason for this re-write is the grouping rules, which were not possible given the existing implementation. The re-write has also considerably simplified the HTML (and, if it ever is completed, terminal) front-end.
Diffstat (limited to 'html.c')
-rw-r--r--html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/html.c b/html.c
index fa6c79f6..e3fc9dca 100644
--- a/html.c
+++ b/html.c
@@ -105,6 +105,7 @@ static const char *const htmlattrs[ATTR_MAX] = {
"charset", /* ATTR_CHARSET */
"open", /* ATTR_OPEN */
"close", /* ATTR_CLOSE */
+ "mathvariant", /* ATTR_MATHVARIANT */
};
static const char *const roffscales[SCALE_MAX] = {