[Top][All Lists]

[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: Fri, 6 Apr 2001 15:03:17 +0200

Log from commit: 

Update of /var/cvs/groff/src/include
In directory genba:/vol5/tmp/cvs-serv3915/src/include

Modified Files:
Log Message:
Implement continuous underlining for nroff mode.  To do that, a new
request in the ditroff language has been added: `x u N' (N is 0
or 1).

X and Y are now transparent to end-of-sentence recognition.

* src/include/printer.h (printer): Add `type' parameter to `special'
* src/libs/libdriver/ (printer::special): Updated.
* src/libs/libdriver/ (do_file): Handle `x u N'.

* src/devices/dvi/ (dvi_printer::special): Handle only
specials of type `p'.
* src/devices/grohtml/ (html_printer::special): Ditto.
* src/devices/grohtml-old/ (html_printer::special): Ditto.
* src/devices/grops/ (ps_printer::special): Ditto.
* src/devices/grotty/ Add new enum CU_MODE.
(glyph::order): New method.
(tty_printer::add_char): Use it.
(tty_printer::special): New method.
(tty_printer::end_page): Implement it.

* src/roff/troff/node.h (special_node): Add `no_init_string' member.
* src/roff/troff/ (special_node::special_node): Add parameter
to set `no_init_string'.
(special_node::tprint_start): Use it.
(special_node::same, special_node::copy): Updated.
(special_node::ends_sentence): New method.
(troff_output_file::start_special): Add parameter to include
inititialization of special conditionally.

* src/roff/troff/env.h (environment): New member `underline_spaces'.
* src/roff/troff/ (do_underline_special): New function.
(environment::set_font): Use it.
(do_underline): Use it.  This was `underline()'.
(underline): Call `do_underline()'.
(continuous_underline): New function which calls `do_underline()'.
(environment::newline): Use `do_underline_special()'.
(init_env_requests): Updated.

* NEWS, man/ Updated.

* font/devutf8/R.proto: Fix code of 'shc'.

reply via email to

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