diff options
author | wlemb <wlemb> | 2001-01-23 07:39:12 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2001-01-23 07:39:12 +0000 |
commit | be338be668b54d17607517e392979f550a85ff53 (patch) | |
tree | 35a5e336519c0d83ca59cc43b7f25f36636527c3 /doc | |
parent | 6a38a5a6d7c811c82a21da13f1a2d9767a407184 (diff) | |
download | groff-be338be668b54d17607517e392979f550a85ff53.tar.gz |
troff's `box' and `boxa' requests didn't preserve temporary
indentation.
* src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
`saved_target_text_length' members.
* src/roff/troff/div.cc (do_divert): Use them.
Tabs (but not yet leaders and fields) are now handled correctly by
`asciify' request.
* node.h (hmotion_node): Add field `was_tab'.
* env.cc (environment::make_tab_node): Set it.
* node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
Added new request `unformat' which will, contrary to `asciify',
preserve font information after unformatting (i.e., only nodes
dealing with horizontal space are converted back to input
characters).
* input.cc (asciify_macro): Renamed to ...
(do_asciify_macro): this, having a new parameter `unformat_only'.
(asciify_macro, unformat_macro): New; using do_asciify_macro.
(init_input_requests): Added `unformat'.
* node.cc (*_node::asciify), asciify_reverse_node_list: Added
parameter to control asciification process.
* node.h (*_node::asciify): Ditto.
* NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
* doc/groff.texinfo: Minor improvement of `.in' documentation.
* test-groff: Updated.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index b35b7c92..5283e757 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -4996,7 +4996,7 @@ If a negative indentation value is specified (which is not allowed), indentation to zero. The effect of @code{in} is delayed until a partially collected line (if -it exists) is output. +it exists) is output. A temporary indent value is reset to zero also. @vindex .i The current indentation (as set by @code{in}) can be found in the @@ -6363,7 +6363,7 @@ name. This would be called as @example -.vl $Id: groff.texinfo,v 1.63 2001/01/17 14:17:18 wlemb Exp $ +.vl $Id: groff.texinfo,v 1.64 2001/01/23 07:39:14 wlemb Exp $ @end example @xref{Request Arguments}. |