aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
commit30f55adc136c204d3d558b367edbc380844a2929 (patch)
treea376b69f8eebb95f4e52c37ed320e23ecb77d9af /eqn.7
parent120b20293594a2d47c4e480f65706a805f0e629b (diff)
downloadmandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.gz
mandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.zst
mandoc-30f55adc136c204d3d558b367edbc380844a2929.zip
Add support for tdefine and ndefine. Consolidate some error messages. Add
somem more version notes (getting there). Have the equation nanme be captured.
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.717
1 files changed, 14 insertions, 3 deletions
diff --git a/eqn.7 b/eqn.7
index 4d4e02d9..1e4faca1 100644
--- a/eqn.7
+++ b/eqn.7
@@ -1,4 +1,4 @@
-.\" $Id: eqn.7,v 1.22 2011/07/23 12:10:16 kristaps Exp $
+.\" $Id: eqn.7,v 1.23 2011/07/23 18:41:18 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -30,11 +30,13 @@ and
.Xr man 7
.Ux
manual pages.
-This manual describes the subset of the
+This manual describes the
.Nm
language accepted by the
.Xr mandoc 1
-utility.
+utility, which correspond to the Second Edition eqn specification (see
+.Sx SEE ALSO
+for references).
.Pp
Equations within
.Xr mdoc 7
@@ -66,6 +68,8 @@ eqn : box | eqn box
box : text
| \*q{\*q eqn \*q}\*q
| \*qdefine\*q text text
+ | \*qndefine\*q text text
+ | \*qtdefine\*q text text
| \*qgfont\*q text
| \*qgsize\*q text
| \*qset\*q text text
@@ -145,6 +149,13 @@ foo bar 'baz'
.Ed
.Pp
Self-referencing definitions will raise an error.
+The
+.Cm ndefine
+statement is a synonym for
+.Cm define ,
+while
+.Cm tdefine
+is discarded.
.It Cm gfont
Set the default font of subsequent output.
Its syntax is as follows: