summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-07 11:35:06 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-07 11:35:06 +0000
commit04736aac15e84c2dacbbb0788d3e89d2daf75cd4 (patch)
treeebe951075c2bc3410d5afe18cd884ba5a337bed4 /roff.7
parentf8af9067d4fce04d00f200ac8a73574b0e306f9d (diff)
downloadmandoc-04736aac15e84c2dacbbb0788d3e89d2daf75cd4.tar.gz
implement .dei and .ami
Diffstat (limited to 'roff.7')
-rw-r--r--roff.725
1 files changed, 13 insertions, 12 deletions
diff --git a/roff.7 b/roff.7
index c6bb631e..4ca48a98 100644
--- a/roff.7
+++ b/roff.7
@@ -409,24 +409,21 @@ and the number of arguments is not checked.
Append to a macro definition.
The syntax of this request is the same as that of
.Sx \&de .
-It is currently ignored by
-.Xr mandoc 1 ,
-as are its children.
.Ss \&ami
Append to a macro definition, specifying the macro name indirectly.
The syntax of this request is the same as that of
.Sx \&dei .
-It is currently ignored by
-.Xr mandoc 1 ,
-as are its children.
.Ss \&am1
Append to a macro definition, switching roff compatibility mode off
during macro execution.
The syntax of this request is the same as that of
.Sx \&de1 .
-It is currently ignored by
-.Xr mandoc 1 ,
-as are its children.
+Since
+.Xr mandoc 1
+does not implement
+.Nm
+compatibility mode at all, it handles this request as an alias for
+.Sx \&am .
.Ss \&as
Append to a user-defined string.
The syntax of this request is the same as that of
@@ -554,9 +551,13 @@ Define a
macro, specifying the macro name indirectly.
The syntax of this request is the same as that of
.Sx \&de .
-It is currently ignored by
-.Xr mandoc 1 ,
-as are its children.
+The request
+.Pp
+.D1 Pf . Cm \&dei Ar name Op Ar end
+.Pp
+has the same effect as:
+.Pp
+.D1 Pf . Cm \&de No \e* Ns Bo Ar name Bc Op \e* Ns Bq Ar end
.Ss \&de1
Define a
.Nm