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 /man | |
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 'man')
-rw-r--r-- | man/groff.man | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/man/groff.man b/man/groff.man index 3f46621c..98e8f030 100644 --- a/man/groff.man +++ b/man/groff.man @@ -1057,13 +1057,13 @@ Reset escape character to Set escape character to .argument c . . -.REQ .ecs -Save current escape character. -. .REQ .ecr Restore escape character saved with .request .ecs . . +.REQ .ecs +Save current escape character. +. .REQ .el anything Else part for if-else (\c .argument .ie ) @@ -1628,10 +1628,6 @@ Enable track kerning for .REQ .tl \f(CB\(cq\fPleft\f(CB\(cq\fPcenter\f(CB\(cq\fPright\f(CB\(cq\fP Three-part title. . -.REQ .trf filename -Transparently output the contents of file -.argument filename . -. .REQ .tm anything Print .argument anything @@ -1661,6 +1657,10 @@ to .argument d , etc. on output. . +.REQ .trf filename +Transparently output the contents of file +.argument filename . +. .REQ .trnt abcd.... This is the same as the .request .tr |