On 2012-09-14, Heinrich W Puschmann wrote:

> Dear Developers,

> I am using LyX Version 2.0.0 with Ubuntu 11.4 (will soon be switchinig
> to Ubuntu 12.4).

> I need to define hyphenation patterns of my own, in order to test
> nonstandardized non-English language features. I know how to define the
> patterns, but I cannot include them in the preamble because, according
> to the error message, "patterns can be loaded only by INITEX". I
> searched the included help document, but apparently that question is
> not worried about, while it is implicitly assumed that the list of
> covered languages will be sufficient for all users.

> What is the correct way of overwriting the default hyphenation pattern
> by a pattern generated by oneself? Can I do that within LyX, do I have
> to use LaTeX directly, or do I have to revert to plain TeX?

This depends. 

If you have a set of patterns generated with patgen, then inclusion of
them is indeed not "LyX stuff" but requires a LaTeX re-initialisation.
You will need to browse LaTeX documentation and/or ask at a TeX user list
or consult a local "texpert".

OTOH, if there are only few to-be-hyphenated words (less than the ca.
500000 words in the list to generate the German patterns), you can create a
file with a \hyphenation list and include this from 
Document>Settings>LaTeX preamble.

Günter

Reply via email to