summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-01-23 07:39:12 +0000
committerwlemb <wlemb>2001-01-23 07:39:12 +0000
commitbe338be668b54d17607517e392979f550a85ff53 (patch)
tree35a5e336519c0d83ca59cc43b7f25f36636527c3 /man
parent6a38a5a6d7c811c82a21da13f1a2d9767a407184 (diff)
downloadgroff-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 'man')
-rw-r--r--man/groff.man3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/groff.man b/man/groff.man
index b9e3e218..a8c44319 100644
--- a/man/groff.man
+++ b/man/groff.man
@@ -1704,6 +1704,9 @@ Underline (italicize in troff)
.argument N
input lines.
.
+.REQ .unformat diversion
+Unformat horizontal space (no glyphs) in
+.argument diversion .
.REQ .vpt n
Enable vertical position traps if
.argument n