Forum How do I...?

Hyphenation in multiple languages

jhellingman
I noticed some selectors to enable automatic hyphenation. The names used suggest you use TeX-based hyphenation. I have documents in multiple languages, where I want to set the hyphenation patterns appropriately, based on the xml.lang attribute. Will this work inside a single paragraph. Can I use TeX hyphenation pattern files for this?
mikeday
For an example of the hyphenation patterns supported please see the supplied en.hyp file in the hyph directory of the Prince installation. Hyphenation files must be encoded as UTF-8 text. At the moment it is not yet possible to apply multiple hyphenation files to the same paragraph, although we may extend Prince to support this in a future release.