summaryrefslogtreecommitdiff
path: root/NEWS
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 /NEWS
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 'NEWS')
-rw-r--r--NEWS6
1 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 5d8a39a6..c25941df 100644
--- a/NEWS
+++ b/NEWS
@@ -57,6 +57,10 @@ o A new debugging request, `pev', has been added to print all of the current
environment, then iterates through all of the known environments, printing
each except the one that is current.
+o A new escape `\$^' has been added. It represents the parameters of a
+ macro as if they were an argument to the `ds' request. This is used by
+ `trace.tmac'.
+
Pic
---
@@ -75,7 +79,6 @@ Afmtodit
o New option `-c' to output more font information as comments.
-
Macro Packages
--------------
@@ -83,6 +86,7 @@ o A new macro `Dx' has been added to the mdoc package which identifies the
DragonFly OS.
o -mtrace now shows whether a macro has been called as .foo or as 'foo.
+ It also traces calls to the `nr', `ds', `ds1', `as', and `as1' requests.
o The PSPIC macro now works with all devices (producing a hollow
rectangle on devices which don't support inclusion of PS images) and