summaryrefslogtreecommitdiff
path: root/tmac/an-old.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2002-02-03 21:38:45 +0000
committerwlemb <wlemb>2002-02-03 21:38:45 +0000
commitc86a7e2260cb1395fd10cf0efd645f98ec4f7f3c (patch)
treed17af735e393aa019fbcb5730217d9f177bdf9bd /tmac/an-old.tmac
parentd7c0243c3078cc4c8294ab7f93e94077e1077237 (diff)
downloadgroff-c86a7e2260cb1395fd10cf0efd645f98ec4f7f3c.tar.gz
Added three new requests `ds1', `as1', and `ami'. The former two
are equivalent to `ds' and `as' with the difference that compatibility mode is saved on entry, switched off during string expansion, and restored on exit. The latter is the pendant to `dei' for `am'. (do_define_string): Use `define_mode' and `calling mode'. Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and end of string, respectively. (define_string, append_string): Use `calling_mode'. (define_nocomp_string, append_nocomp_string, define_string_indirect): New functions. (init_input_requests): Updated. * NEWS, man/groff_diff.man, man/groff.man: Document it. * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use `as1' for assigning LINE_STRING (this is `10' usually). Sun's mm macro package accesses this string register directly. * src/preproc/eqn/main.cc (inline_equation): Use `as1'. * tmac/trace.tmac: Trace calls to `am' also. Make it work in compatibility mode.
Diffstat (limited to 'tmac/an-old.tmac')
-rw-r--r--tmac/an-old.tmac2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index b486dd98..cfe46974 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -31,7 +31,7 @@
.\" -rXnnn => Number pages after nnn as nnna, nnnb, nnnc, ...
.\"
.\" The file man.local is loaded at the end. Put local additions there.
-.\" If you need to add things to TH, use `.am TH'.
+.\" If you need to add things to TH, use `.am1 TH'.
.\"
.
.if !\n(.g .ab These man macros work only with groff.