diff options
author | wlemb <wlemb> | 2000-10-07 11:44:37 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-10-07 11:44:37 +0000 |
commit | 3462e5c39305980fec342dea2242aabc8ac4cbc5 (patch) | |
tree | 67a8be729df9e78b8f08675c2cbce5447840b25b /NEWS | |
parent | c0787c77c7100d97e296fbe8fff2f30d475e71bb (diff) | |
download | groff-3462e5c39305980fec342dea2242aabc8ac4cbc5.tar.gz |
Adding a new escape sequence B'...': If the string between
the delimiters is a valid numeric expression, return the character
`1', and `0' otherwise. This is an analogon to A.
* src/roff/troff/input.cc (do_expr_test): Implement it.
(token::next): Use it.
* src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
* tmac/tmac.trace: Made independent from escape character.
Adding a new request .dei: define indirect. The first and second
parameter of .dei are taken from string registers instead directly;
this very special request is needed to make tmac.trace independent
from the escape character (which might even be disabled).
* src/roff/troff/input.cc (do_define_macro): Implement it.
(define_macro_indirect): New function.
(init_input_requests): Use it.
Adding two requests .ecs and .ecr: Save and restore the escape
character. These two requests are needed to make tmac.trace
independent from the escape character (which might even be
disabled).
* src/roff/troff/input.cc (save_escape_char, restore_escape_char):
Implement it.
(init_input_requests): Use it.
* src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -28,6 +28,18 @@ Two new requests `tm1' and `tmc' have been added to improve writing messages to the terminal. `tm1' is similar to `tm' but allows leading whitespace. `tmc' is similar to `tm1' but doesn't emit a final newline. +A new request `dei' (define indirect) has been added. The first and second +parameter of `dei' are taken from string registers instead directly; this +very special request is needed to make `tmac.trace' independent from the +escape character (which might even be disabled). + +It is now possible to save and restore the escape character with two new +requests `ecs' and `ecr'. + +The new escape sequence \B'...' is an analogon to `\A': If the string within +the delimiters is a valid numeric expression, return character `1', and `0' +otherwise. + grops ----- |