Make \X accept both `\ ' and `\~', converting them to single space
commit1a111dbedbf634e5f445df2515832e55f9d4d70d
authorWerner LEMBERG <wl@gnu.org>
Sun, 23 Jun 2002 08:26:24 +0000 (23 08:26 +0000)
committerWerner LEMBERG <wl@gnu.org>
Sun, 23 Jun 2002 08:26:24 +0000 (23 08:26 +0000)
tree082e3ed7c84b7b227ec6fa7e8c4d095cf5ebcd9c
parent2a483e5276add63973f5bf466c3190c1ba87d1bc
Make \X accept both `\ ' and `\~', converting them to single space
characters.

* src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
(token::unstretchable_space): New inline function.
* src/roff/troff/input.cc (token::next, token::delimiter,
token::description, token::add_to_node_list, token::process): Handle
TOKEN_UNSTRETCHABLE_NODE.
(encode_char): Handle tok.stretchable_space and
tok.unstretchable_space.

* NEWS, doc/groff.texinfo: Document it..
ChangeLog
NEWS
doc/groff.texinfo
src/roff/troff/input.cc
src/roff/troff/token.h