From 412096ae4b6d42bc140bcb7845f94998f7327ad7 Mon Sep 17 00:00:00 2001 From: wlemb Date: Thu, 24 Jul 2003 08:26:12 +0000 Subject: 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. --- man/groff_diff.man | 84 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 36 deletions(-) (limited to 'man/groff_diff.man') 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 -- cgit v1.2.1