summaryrefslogtreecommitdiffstats
path: root/eqn.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:59:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-22 14:59:02 +0000
commitbf7102688102ef67c2fde9e395308692aa679c51 (patch)
treeead3a3ce6b26846c12147b2a46fa295231ef38c1 /eqn.7
parenta45ffeccc960ff652ba7f2aeebec3a920827306b (diff)
downloadmandoc-bf7102688102ef67c2fde9e395308692aa679c51.tar.gz
Check for and throw away `gfont' eqn macros.
Diffstat (limited to 'eqn.7')
-rw-r--r--eqn.712
1 files changed, 10 insertions, 2 deletions
diff --git a/eqn.7 b/eqn.7
index a4fc3be8..71045263 100644
--- a/eqn.7
+++ b/eqn.7
@@ -66,6 +66,7 @@ eqn : box | eqn box
box : text
| "{" eqn "}"
| "define" text text
+ | "gfont" text
| "gsize" text
| "set" text text
| "undef" text
@@ -142,18 +143,25 @@ foo bar 'baz'
.Ed
.Pp
Self-referencing definitions will raise an error.
+.It Cm gfont
+Set the default font of subsequent output.
+Its syntax is as follows:
+.Pp
+.D1 gfont Ar font
+.Pp
+In mandoc, this value is discarded.
.It Cm gsize
Set the default size of subsequent output.
Its syntax is as follows:
.Pp
-.D1 define Ar size
+.D1 gsize Ar size
.Pp
The
.Ar size
value should be an integer.
.It Cm set
Set an equation mode.
-Both arguments are thrown away.
+In mandoc, both arguments are thrown away.
Its syntax is as follows:
.Pp
.D1 set Ar key val