diff options
author | wlemb <wlemb> | 2000-12-02 21:18:02 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-12-02 21:18:02 +0000 |
commit | d5127ad34c7e3bd7d920cbd76f6e988a72f4f8d2 (patch) | |
tree | 6bd1f5c65abe2b013bc4569dfcdc2f655648f10a /doc | |
parent | 01c015c2210fbf5f2461e81c8a202254a4befa18 (diff) | |
download | groff-d5127ad34c7e3bd7d920cbd76f6e988a72f4f8d2.tar.gz |
Fixing a bug which prevented hyphenation in words followed
immediately by a TOKEN_NODE (e.g. ` ', `~', etc.).
* src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
Adding possibly_break_line().
* src/roff/troff/env.h (environment): Make possibly_break_line()
public.
Make `~' usable in .tr request.
* src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
(token): Add stretchable_space().
* src/roff/troff/input.cc (token::next, token::delimiter,
token::description, process_input_stack, do_translate,
add_to_node_list, token::process): Use it.
* src/roff/troff/node.h (node): Add fourth parameter to add_char()
for adjusting the space.
* src/roff/troff/node.cc (node::add_char): Implement it. Add code
for stretchable space.
* src/roff/troff/input.cc (token::add_to_node_list): Use it.
(make_node): Add code for stretchable space.
* src/roff/troff/env.cc (environment::add_char): Use it.
* src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
(get_copy, token::next, transparent_translate, asciify): Use it.
* NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
doc/groff.texinfo: Updated.
* man/groff.man: Small reorderings.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index 03393cec..c5c46432 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -4737,8 +4737,9 @@ The @code{\e} escape can be translated also. @item @findex \% -Characters can be mapped onto the @code{\%} escape (but @code{\%} can't -be mapped onto another character). +@findex \~ +Characters can be mapped onto the @code{\%} and @code{\~} escapes (but +@code{\%} and @code{\~} can't be mapped onto another character). @item @cindex backspace character @@ -6354,7 +6355,7 @@ name. This would be called as @example -.vl $Id: groff.texinfo,v 1.55 2000/11/15 22:29:39 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.56 2000/12/02 21:18:02 wlemb Exp $ @end example @xref{Request Arguments}. |