summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-02-16 22:33:32 +0000
committerwlemb <wlemb>2001-02-16 22:33:32 +0000
commite3dd1745c2e7ced9ae4eac532d2a726c7cc95207 (patch)
tree54ab08acb1c021862f6569ce6adba816da6283f8 /NEWS
parent7cc890e04f5191a59c8c9baf9e9802fbc9debe67 (diff)
downloadgroff-e3dd1745c2e7ced9ae4eac532d2a726c7cc95207.tar.gz
Fixing a bug which prevented proper end-of-sentence recognition
between an `unformatted' box and the following text. As a consequence, vertical line distances are no longer preserved in boxes after a call to `.unformat' -- because boxes aren't line-oriented (contrary to diversions), this doesn't make sense anyway. * src/roff/troff/node.cc (*node::set_unformat_flag): Add return value. (vertical_size_node::set_unformat_flag): New method. * src/roff/troff/node.hh: Updated. * src/roff/troff/input.cc (word_space_node::reread, hmotion_node::reread): Reset `unformat' flag after usage. (unformat_macro): Append only if `set_unformat_flag()' returns non-zero. * src/roff/troff/troff.man: Updated. * src/roff/troff/troff.man, NEWS, man/groff.man: Improved documentation of `asciify' and `unformat' requests.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 3 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index c579ae62..61f02633 100644
--- a/NEWS
+++ b/NEWS
@@ -43,13 +43,13 @@ o `box' and `boxa' are two new requests which behave similarly to `di' and
ending the diversion).
o The `asciify' request has been extended to `unformat' space characters
- also.
+ and some other escape sequences also.
`\ ' will no longer be unformatted as a space but remains an unpaddable,
unbreakable space character.
-o The new `unformat' request is similar to `asciify' but only converts
- (formatted) horizontal space back to its input form, retaining font
+o The new `unformat' request is similar to `asciify' but only handles space
+ characters and tabs specially if the diversion is reread, retaining font
information. This makes it possible to reformat diversions; for example
the following