aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 13:18:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 13:18:24 +0000
commita81f461489b2bf2b5e7068e28199fb91696818b5 (patch)
treef27c5d398f34a45ea9a214ddc08378b786b05239 /eqn.7
parentc5ab7f7879cd81f9d23c71ca68bf4af0159fc64f (diff)
downloadmandoc-a81f461489b2bf2b5e7068e28199fb91696818b5.tar.gz
mandoc-a81f461489b2bf2b5e7068e28199fb91696818b5.tar.zst
mandoc-a81f461489b2bf2b5e7068e28199fb91696818b5.zip
Add support for markers. These decorate the last box: see eqn.7.
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.713
1 files changed, 11 insertions, 2 deletions
diff --git a/eqn.7 b/eqn.7
index a496f9f1..18c2cc5f 100644
--- a/eqn.7
+++ b/eqn.7
@@ -1,4 +1,4 @@
-.\" $Id: eqn.7,v 1.8 2011/07/21 12:34:09 kristaps Exp $
+.\" $Id: eqn.7,v 1.9 2011/07/21 13:18:24 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -63,11 +63,20 @@ The equation grammar is as follows:
.Bd -literal -offset indent
eqn : box | eqn box
box : text
- | { eqn }
+ | { eqn }
| DEFINE text text
| SET text text
| UNDEF text
+ | box mark
text : TEXT
+mark : DOT
+ | DOTDOT
+ | HAT
+ | TILDE
+ | VEC
+ | DYAD
+ | BAR
+ | UNDER
.Ed
.Pp
Data in TEXT form is a non-empty sequence of non-space characters or a