aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit08be124a58f07e4e41c58ea794f3e9eb04230e2b (patch)
tree7ae377429c8c326e79f2bb6133d4f43f2a9dfecc /html.c
parent12f47a5652f90a1d86d7f6245d2d7f4dfae9f04e (diff)
downloadmandoc-08be124a58f07e4e41c58ea794f3e9eb04230e2b.tar.gz
mandoc-08be124a58f07e4e41c58ea794f3e9eb04230e2b.tar.zst
mandoc-08be124a58f07e4e41c58ea794f3e9eb04230e2b.zip
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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 957c070b..e213bd51 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.174 2014/09/28 20:14:20 kristaps Exp $ */
+/* $Id: html.c,v 1.175 2014/10/10 08:44:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -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] = {