From 30f55adc136c204d3d558b367edbc380844a2929 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 23 Jul 2011 18:41:18 +0000 Subject: Add support for tdefine and ndefine. Consolidate some error messages. Add somem more version notes (getting there). Have the equation nanme be captured. --- eqn.7 | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'eqn.7') 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 .\" @@ -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: -- cgit v1.2.3