summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-07-24 08:26:12 +0000
committerwlemb <wlemb>2003-07-24 08:26:12 +0000
commit412096ae4b6d42bc140bcb7845f94998f7327ad7 (patch)
tree123b44e51aace6f15d55680bc724d5e05eac9fa0 /man
parent3143c003524914b0dbea7c792b98109737482896 (diff)
downloadgroff-412096ae4b6d42bc140bcb7845f94998f7327ad7.tar.gz
Add requests `dei1' and `ami1' for completeness.
* src/roff/troff/input.cc (calling_mode): Remove CALLING_DISABLE_COMP. (comp_mode): New enumeration. (do_define_string, define_string, define_nocomp_string, append_string, append_nocomp_string): Updated. (do_define_macro): Add third parameter. (define_macro, define_nocomp_macro, define_indirect_macro, append_macro, append_nocomp_macro, append_indirect_macro): Updated. (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New functions. (ignore): Updated. (init_input_requests): Add `dei1' and `ami1'. * tmac/trace.tmac: Handle de1 and am1. (de): Improve tracing message. (am): Add missing `do'. (return): Use de1. * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo: Document new requests.
Diffstat (limited to 'man')
-rw-r--r--man/groff.man38
-rw-r--r--man/groff_diff.man84
2 files changed, 77 insertions, 45 deletions
diff --git a/man/groff.man b/man/groff.man
index fa35aa09..e9a63941 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -2,7 +2,7 @@
.ig
groff.man
-Last update: 15 Jul 2003
+Last update: 23 Jul 2003
This file is part of groff, the GNU roff type-setting system.
@@ -1168,6 +1168,16 @@ until
.request .end
is called.
.
+.REQ .am1 macro
+Same as
+.request .am
+but with compatibility mode switched off during macro expansion.
+.
+.REQ .am1 macro end
+Same as
+.request .am
+but with compatibility mode switched off during macro expansion.
+.
.REQ .ami macro
Append to a macro whose name is contained in the string register
.I macro
@@ -1183,14 +1193,14 @@ and
are string registers whose contents are interpolated for the macro name
and the end macro, respectively.
.
-.REQ .am1 macro
+.REQ .ami1 macro
Same as
-.request .am
+.request .ami
but with compatibility mode switched off during macro expansion.
.
-.REQ .am1 macro end
+.REQ .ami1 macro end
Same as
-.request .am
+.request .ami
but with compatibility mode switched off during macro expansion.
.
.REQ .as stringvar anything
@@ -1199,15 +1209,15 @@ Append
to
.IR stringvar .
.
-.REQ .asciify diversion
-Unformat ASCII characters, spaces, and some escape sequences in
-.IR diversion .
-.
.REQ .as1 stringvar anything
Same as
.request .as
but with compatibility mode switched off during string expansion.
.
+.REQ .asciify diversion
+Unformat ASCII characters, spaces, and some escape sequences in
+.IR diversion .
+.
.REQ .backtrace
Print a backtrace of the input on stderr.
.
@@ -1432,6 +1442,16 @@ and
are string registers whose contents are interpolated for the macro name
and the end macro, respectively.
.
+.REQ .dei1 macro
+Same as
+.request .dei
+but with compatibility mode switched off during macro expansion.
+.
+.REQ .dei1 macro end
+Same as
+.request .dei
+but with compatibility mode switched off during macro expansion.
+.
.REQ .di
End current diversion.
.
diff --git a/man/groff_diff.man b/man/groff_diff.man
index 4ddfb920..bd19db80 100644
--- a/man/groff_diff.man
+++ b/man/groff_diff.man
@@ -3,7 +3,7 @@
.ig
groff_diff.man
-Last update : 15 Jul 2003
+Last update : 23 Jul 2003
This file is part of groff, the GNU roff type-setting system.
It is the source of the man-page groff_diff(7).
@@ -881,14 +881,6 @@ or string diversion is currently undefined or if it is defined to be a
request; normally they modify the value of an existing object.
.
.TP
-.BI .ami\ xx\ yy
-Append to macro indirectly.
-.
-See the
-.B dei
-request below for more information.
-.
-.TP
.BI .am1\ xx\ yy
Similar to
.BR .am ,
@@ -911,6 +903,41 @@ and
.BR .ds1 .
.
.TP
+.BI .ami\ xx\ yy
+Append to macro indirectly.
+.
+See the
+.B dei
+request below for more information.
+.
+.TP
+.BI .ami1\ xx\ yy
+Same as the
+.B ami
+request but compatibility mode is switched off during execution.
+.
+.TP
+.BI .as1\ xx\ yy
+Similar to
+.BR .as ,
+but compatibility mode is switched off during expansion.
+.
+To be more precise, a `compatibility save' token is inserted at the
+beginning of the string, and a `compatibility restore' token at the end.
+.
+As a consequence, the requests
+.BR as ,
+.BR as1 ,
+.BR ds ,
+and
+.B ds1
+can be intermixed freely since the compatibility save/\:restore tokens
+only affect the (sub)strings defined by
+.B as1
+and
+.BR ds1 .
+.
+.TP
.BI .asciify\ xx
This request `unformats' the diversion
.I xx
@@ -956,27 +983,6 @@ use
instead.
.
.TP
-.BI .as1\ xx\ yy
-Similar to
-.BR .as ,
-but compatibility mode is switched off during expansion.
-.
-To be more precise, a `compatibility save' token is inserted at the
-beginning of the string, and a `compatibility restore' token at the end.
-.
-As a consequence, the requests
-.BR as ,
-.BR as1 ,
-.BR ds ,
-and
-.B ds1
-can be intermixed freely since the compatibility save/\:restore tokens
-only affect the (sub)strings defined by
-.B as1
-and
-.BR ds1 .
-.
-.TP
.B .backtrace
Print a backtrace of the input stack on stderr.
.
@@ -1247,6 +1253,14 @@ and
is not the same.
.
.TP
+.BI .de1\ xx\ yy
+Similar to
+.BR .de ,
+but compatibility mode is switched off during execution.
+.
+On entry, the current compatibility mode is saved and restored at exit.
+.
+.TP
.BI .dei\ xx\ yy
Define macro indirectly.
.
@@ -1276,12 +1290,10 @@ is equivalent to
.RE
.
.TP
-.BI .de1\ xx\ yy
-Similar to
-.BR .de ,
-but compatibility mode is switched off during execution.
-.
-On entry, the current compatibility mode is saved and restored at exit.
+.BI .dei1\ xx\ yy
+Similar to the
+.B dei
+request but compatibility mode is switched off during execution.
.
.TP
.BI .do\ xxx