[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Hyphenation pattern registration



Dear list,

I need some help on thailatex experimental package regarding
hyphenation pattern registration.

I have been creating Thai hyphenation pattern as a new feature
for the next upstream release. In the past few months, it worked
fine in my local development builds, but it stopped working
in some recent upgrades.

In my local builds, I do the followings:
- Install loadhyph-th.tex which loads appropriate pattern file
  based on 8-bit/UTF-8 encoding.
- Create /etc/texmf/hyphen.d/20thailatex.cnf with this content:
    name=thai file=loadhyph-th.tex lefthyphenmin=2 righthyphenmin=3
  (In debian package, it's installed by dh_installtex using
  debian/hyphens as the source.)
- Run "update-language && update-fmt && fmtutil-sys --all"
  (In deb, it's done by tex-common's magic.)

Checking the logs, fmtutil did build and install the Thai
hyphenation pattern, but when compiling a document,
it complains:

---8<---
Package babel Warning: No hyphenation patterns were loaded for
(babel)                the language `thai'
(babel)                I will use the patterns loaded for \language=0 instead.
---8<---

And the document doesn't get hyphenated.

What have I missed on recent upgrades?

You can check the package in experimental
(thailatex 0.4.7+svn20120423-1). Some examples in the doc
directory can be used for testing.

Thanks,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/


Reply to: