[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: 22 Mar 2002 16:11:16 -0000

Log from commit: 

Update of /var/cvs/groff
In directory genba:/vol5/tmp/cvs-serv29440

Modified Files:
        ChangeLog NEWS 
Log Message:

Improve handling of hyphenation patterns.  It is now possible to
use most of TeX's pattern files unmodified.  To make the process
more flexible, a new request `hpfcode' has been added which
provides a character code mapping for the `hpf' request.  See
comment before hpf_getc() for more details.

* src/roff/troff/ (insert_hyphenation, hpf_getc): New
(read_patterns_file): Additional parameter for exception dictionary.
Extended to recognize \pattern, \hyphenation, and \endinput.
(do_hyphenation_patterns_file): Updated.
* src/roff/troff/env.h (hpf_code_table): New extern.

* src/roff/troff/ (hpf_code_table): New array.
(init_hpf_code_table, hyphenation_patterns_file_code): New
(hyphenation_code): Handle translation from `trin' correctly.
(main, init_input_requests): Updated.
(charinfo::set_translation): Handle hyphenation code also.

* src/roff/troff/charinfo.h (charinfo::get_translation_input): New
inline function.

* src/roff/troff/ (WORD_MAX): Reduced to 256 since `unsigned
char' is used for offsets in hyphenation exceptions.

* tmac/ Replace with contents of unmodified `hyphen.tex'.

* NEWS, man/, man/ Document it.

* doc/groff.texinfo: Document possible conflict between `tr' and
`char' requests.

reply via email to

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