summaryrefslogtreecommitdiff
path: root/man/groff_diff.man
diff options
context:
space:
mode:
authorwl <wl>2006-10-26 19:39:07 +0000
committerwl <wl>2006-10-26 19:39:07 +0000
commit20499dc80f8da12a02007e70497e498bc74d6ca2 (patch)
treee89de9206d8b0efee708553d28056ad8669ae087 /man/groff_diff.man
parent38897a978945ce1108ffa422cc3260e22d67d712 (diff)
downloadgroff-20499dc80f8da12a02007e70497e498bc74d6ca2.tar.gz
Add `\%^' escape to handle the parameters to a macro as a string
argument. * src/roff/troff/input.h (DOUBLE_QUOTE): New special character. * src/roff/troff/input.cpp (input_iterator, input_stack, macro_iterator): Add `space_follows_arg' member function. (macro_iterator::add_arg): Add parameter to set the `space_follows' flag. (arg_list): Add member `space_follows'. Update constructor and all callers. (decode_args): Store discarded double quotes. (interpolate_args): Handle DOUBLE_QUOTE. Add `\%^' escape. (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE. * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1. * docs/groff.texinfo (Parameters), man/groff.man, man/groff_diff.man, NEWS: Document it.
Diffstat (limited to 'man/groff_diff.man')
-rw-r--r--man/groff_diff.man9
1 files changed, 8 insertions, 1 deletions
diff --git a/man/groff_diff.man b/man/groff_diff.man
index c1cad547..e3e95c65 100644
--- a/man/groff_diff.man
+++ b/man/groff_diff.man
@@ -3,7 +3,7 @@
.ig
groff_diff.man
-Last update : 1 Sep 2006
+Last update : 26 Oct 2006
This file is part of groff, the GNU roff type-setting system.
It is the source of the man-page groff_diff(7).
@@ -697,6 +697,13 @@ In a macro or string, the concatenation of all the arguments with each
surrounded by double quotes, and separated by spaces.
.
.TP
+.B \[rs]$^
+In a macro, the representation of all parameters as if they were an
+argument to the
+.B ds
+request.
+.
+.TP
.BI \[rs]$( nn
.TQ
.BI \[rs]$[ nnn ]