summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-01-12 22:42:33 +0000
committerwlemb <wlemb>2001-01-12 22:42:33 +0000
commita9d0e0444f6e857baf0e589eb2ca650f2fa20ac7 (patch)
treeb7db7786dc9f3455fd65aaf551861f23d699fb59 /NEWS
parente4ba00776230b7badb30237ade59fcaea1b291cd (diff)
downloadgroff-a9d0e0444f6e857baf0e589eb2ca650f2fa20ac7.tar.gz
* src/roff/troff/input.cc: Move definition of special characters
like `ESCAPE_TILDE' to ... * src/roff/troff/input.h: New file. * src/roff/troff/Makefile.sub (HDRS): Add it. Extending the .asciify request to `unformat' space characters also. * src/roff/troff/node.h (word_space_node): Add `num_spaces' element to count input space characters. Update constructors to take care of it. * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use `ESCAPE_SPACE' instead of normal space. (word_space_node::asciify): New method. (unbreakable_space_node::asciify): New method. (word_space_node::merge_space): New method. * src/roff/troff/env.cc (environment::space_newline, environment::space): Add code to initialize `num_spaces' (using the constructor of `word_space_node'). * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo: Document it. * man/groff_char.man: Use table header traps only conditionally. * man/groff_char.man: Add `ý' and `Ý' to the `acute' group. Ignore `ss' request if in compatibility mode. `ss' request in nroff mode. * tmac/e.tmac: Add `T&' macro. long page is created instead of multiple pages: All `ne' and `wh' be called with `em'.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS38
1 files changed, 38 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index e724e7c2..4227aa2e 100644
--- a/NEWS
+++ b/NEWS
@@ -42,6 +42,44 @@ o `box' and `boxa' are two new requests which behave similarly to `di' and
`da' but don't include a partially filled line (which is restored after
ending the diversion).
+o The `asciify' request has been extended to `unformat' space characters
+ also. This makes it possible to reformat diversions; for example the
+ following
+
+ .ll 3i
+ .
+ a01 a02 a03 a04 a05 a06 a07 a08 a09 a10.
+ .
+ .box box1
+ .ev 1
+ .nf
+ b01 b02 b03 b04 b05 b06 b07 b08 b09 b10.
+ .br
+ .ev
+ .box
+ .
+ c01 c02 c03 c04 c05 c06 c07 c08 c09 c10.
+ .
+ .asciify box1
+ .box1
+
+ gives
+
+ a01 a02 a03 a04 a05 a06 a07
+ a08 a09 a10. c01 c02 c03 c04
+ c05 c06 c07 c08 c09 c10. b01
+ b02 b03 b04 b05 b06 b07 b08
+ b09 b10.
+
+ Without the `asciify' request, space characters are converted to word
+ space nodes which are no longer stretchable, and the result would be
+
+ a01 a02 a03 a04 a05 a06 a07
+ a08 a09 a10. c01 c02 c03 c04
+ c05 c06 c07 c08 c09 c10. b01
+ b02 b03 b04 b05 b06 b07 b08
+ b09 b10.
+
o 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.