Table of Contents

Name

patgen - generate patterns for TeX hyphenation

Synopsis

patgen dictionary_file pattern_file log_file translate_file

Description

This manual page is not meant to be exhaustive. The complete documentation for this version of can be found in the info file or manual Web2C: A TeX implementation.

The patgen program reads the dictionary_file and produces the pattern_file, writing a transcript of its actions on the log_file. The dictionary_file should contain a list of hyphenated words and previously-generated patterns.

The patterns thus generated can be read by initex for use in hyphenating words. For a (very) long example of patgen's output, see $TEXMFMAIN/generic/hyphen/hyphen.tex, which contains the patterns uses for English. At some sites, patterns for several other languages may be available, and the local tex programs may have them preloaded; consult your Local Guide or your system administrator for details.

All filenames must be complete; no adding of default extensions or path searching is done.

Files

$TEXMFMAIN/generic/hyphen/hyphen.tex
Patterns for English.

See Also

Frank Liang, Word hy-phen-a-tion by com-puter, STAN-CS-83-977, Stanford University Ph.D. thesis, 1983.
Donald E. Knuth, The Xbook, Addison-Wesley, 1986, ISBN 0-201-13447-0, Appendix H.

Authors

Frank Liang wrote the first version of this program. Peter Breitenlohner made a substantial revision in 1991 for 3. The first version was published as the appendix to the Xware technical report, available from the Users Group. Howard Trickey originally ported it to Unix.


Table of Contents