aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
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 /mandoc.1
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 'mandoc.1')
-rw-r--r--mandoc.110
1 files changed, 7 insertions, 3 deletions
diff --git a/mandoc.1 b/mandoc.1
index 95f52689..e280a262 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.115 2014/10/07 14:07:03 schwarze Exp $
+.\" $Id: mandoc.1,v 1.116 2014/10/10 08:44:24 kristaps Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -15,7 +15,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: October 7 2014 $
+.Dd $Mdocdate: October 10 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -233,7 +233,7 @@ This is the default.
See
.Sx ASCII Output .
.It Fl T Ns Cm html
-Produce CSS1/HTML5 output.
+Produce HTML5, CSS1, and MathML output.
See
.Sx HTML Output .
.It Fl T Ns Cm lint
@@ -320,6 +320,10 @@ which will normalise to \(>=60.
Output produced by
.Fl T Ns Cm html
conforms to HTML5 using optional self-closing tags.
+Default styles use only CSS1.
+Equations rendered from
+.Xr eqn 7
+blocks use MathML.
.Pp
The
.Pa example.style.css