summaryrefslogtreecommitdiffstats
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:55:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:55:07 +0000
commita45ffeccc960ff652ba7f2aeebec3a920827306b (patch)
treee4f40286cc7d68a5c8f1c9aa9d59146e6c687910 /eqn.7
parent9ff714c4d1575c1f56c58d6d0a2632df41c604c7 (diff)
downloadmandoc-a45ffeccc960ff652ba7f2aeebec3a920827306b.tar.gz
Add support for `gsize' eqn token (introduced in second-edition troff).
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.710
1 files changed, 10 insertions, 0 deletions
diff --git a/eqn.7 b/eqn.7
index cbb4a4ef..a4fc3be8 100644
--- a/eqn.7
+++ b/eqn.7
@@ -66,6 +66,7 @@ eqn : box | eqn box
box : text
| "{" eqn "}"
| "define" text text
+ | "gsize" text
| "set" text text
| "undef" text
| box pos box
@@ -141,6 +142,15 @@ foo bar 'baz'
.Ed
.Pp
Self-referencing definitions will raise an error.
+.It Cm gsize
+Set the default size of subsequent output.
+Its syntax is as follows:
+.Pp
+.D1 define Ar size
+.Pp
+The
+.Ar size
+value should be an integer.
.It Cm set
Set an equation mode.
Both arguments are thrown away.