groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff-commit] Changes to //var/cvs/groff


From: wlemb
Subject: [Groff-commit] Changes to //var/cvs/groff
Date: Tue, 23 Jan 2001 08:39:16 +0100

Log from commit: 

Update of /var/cvs/groff/src/roff/troff
In directory genba:/vol2/tmp/cvs-serv1458/src/roff/troff

Modified Files:
        div.cc div.h env.cc input.cc node.cc node.h troff.man 
Log Message:
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]