[tex-hyphen] Add a new language support (+hyphenation)

Arthur Reutenauer arthur.reutenauer at normalesup.org
Wed Jun 11 21:27:59 CEST 2014

	Hi Krzysztof,

  You've come to right place to ask about adding support for a new
language in TeX.  You seem to have already done most of the work, and
the only step you're missing is to regenerate the format files; in TeX
Live that is done with the utility "fmtutil" to install them as a single
user, or "fmtutil-sys" for a system-wide installation.  You'd thus want
to invoke the command

	fmtutil --all

(or fmutil-sys as root) to rebuild all the formats.  If you're only
interested in, say, XeLaTeX, you can say

	fmtutil --byfmt xelatex

and speed up the process a bit.

  Note that, as has been mentioned, the file language.dat is usually
itself generated from other sources; you'll probably want to look into
the way TeX Live is configured on Gentoo to know which file to edit (I
don't use Gentoo myself, but as a matter of comparison Debian uses a
sub-directory of /etc as the source of language.dat and related files).

> Can you tell me, if there is some kind of manual or at least a list of
> things to do, to add support for language/hyphenation?

  Unfortunately not, adding a new language is a highly specialised area
of TeX, and we're very few people working on language support generally.
But you're welcome to ask any questions here, of course.

  As a side note, since your patterns are for Pāli in Latin
transliteration, I'd use the code pi-latin, instead of just pi, to tag
the language.



More information about the tex-hyphen mailing list