CTAN Comprehensive TeX Archive Network

Directory support/utfpatgen

README.md

UTFpatgen

Reimplementation of the classic PatGen pattern generation program in CWEB. UTFpatgen is a part of the Live suite of programs (link here).

Instalation

We strongly recommend downloading UTFpatgen included in the Live distribution. However, if you wish to compile UTFpatgen from scratch, you need the ctangle utility to translate the CWEB source file to standard C. If you have ctangle ready, simply run:

make build/utfpatgen.c

Once you created the C source file, you can compile it into an executable. The gcc compiler is required, the only outside dependencies are the standard C libraries.

make build-execute

Documentation

Find the commented source code in utfpatgen.pdf. If you wish to compile the documentation yourself, you can do so by running:

make utfpatgen.pdf

The recipe "weaves" the CWEB source to Plain and compiles it into a PDF. Please note that cweave and pdftex utilities are needed to successfully run the recipe.

Licence

version 1.0 (May 2026)

© 2026 Ondřej Metelka, under MIT licence

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Download the contents of this package in one zip archive (540.1k).

utfpatgen – Generate hyphenation patterns from UTF-8 input

UTFPatgen takes a list of hyphenated words and outputs a set of patterns that can be used by the hyphenation algorithm. The input encoding is UTF-8, and various hardwired limits in the original Patgen have been removed. Any number of hyphenation levels may be specified.

UTFPatgen is an extension and reimplementation, in CWEB, of the original Patgen, written by Frank M. Liang.

Packageutfpatgen
Repositoryhttps://github.com/tondach01/utfpatgen/
LicensesMIT License
MaintainerOndřej Metelka
Petr Sojka
TopicsHyphenation generate
See alsopatgen
...
Guest Book Sitemap Contact Contact Author