version 1.6, 2011/07/21 11:34:53 |
version 1.12, 2011/07/21 15:21:13 |
Line 63 The equation grammar is as follows: |
|
Line 63 The equation grammar is as follows: |
|
.Bd -literal -offset indent |
.Bd -literal -offset indent |
eqn : box | eqn box |
eqn : box | eqn box |
box : text |
box : text |
|
| { eqn } |
| DEFINE text text |
| DEFINE text text |
| SET text text |
| SET text text |
| UNDEF text |
| UNDEF text |
|
| box pos box |
|
| box mark |
|
| font box |
|
| SIZE text box |
text : TEXT |
text : TEXT |
|
pos : OVER |
|
| SUP |
|
| SUB |
|
| TO |
|
| FROM |
|
mark : DOT |
|
| DOTDOT |
|
| HAT |
|
| TILDE |
|
| VEC |
|
| DYAD |
|
| BAR |
|
| UNDER |
|
font : ROMAN |
|
| ITALIC |
|
| BOLD |
.Ed |
.Ed |
.Pp |
.Pp |
Data in TEXT form is a non-empty sequence of non-space characters or a |
Data in TEXT form is a non-empty sequence of non-space characters or a |
Line 100 Note that a quoted |
|
Line 121 Note that a quoted |
|
causes errors in some |
causes errors in some |
.Nm |
.Nm |
implementations and should not be considered portable. |
implementations and should not be considered portable. |
|
It is not expanded for replacements. |
Definitions may refer to other definitions; these are evaluated |
Definitions may refer to other definitions; these are evaluated |
recursively when text replacement occurs and not when the definition is |
recursively when text replacement occurs and not when the definition is |
created. |
created. |
Line 115 Self-referencing definitions will raise an error. |
|
Line 137 Self-referencing definitions will raise an error. |
|
.It Cm set |
.It Cm set |
Set an equation mode. |
Set an equation mode. |
Both arguments are thrown away. |
Both arguments are thrown away. |
|
Its syntax is as follows: |
|
.Pp |
|
.D1 set Ar key val |
|
.Pp |
|
The |
|
.Ar key |
|
and |
|
.Ar val |
|
are not expanded for replacements. |
.It Cm undef |
.It Cm undef |
Unset a previously-defined key. |
Unset a previously-defined key. |
Its syntax is as follows: |
Its syntax is as follows: |
Line 124 Its syntax is as follows: |
|
Line 155 Its syntax is as follows: |
|
Once invoked, the definition for |
Once invoked, the definition for |
.Ar key |
.Ar key |
is discarded. |
is discarded. |
|
The |
|
.Ar key |
|
is not expanded for replacements. |
.El |
.El |
.Sh COMPATIBILITY |
.Sh COMPATIBILITY |
This section documents the compatibility of mandoc |
This section documents the compatibility of mandoc |