# [luatex] Hyphenation in plain TeX

Fri Oct 8 10:03:55 CEST 2010

```Hi Mojca!

** Mojca Miklavec [2010-10-08 09:33:52 +0200]:

> On Fri, Oct 8, 2010 at 09:10, Vladimir Lomov wrote:
>> Hi.
>>
>> Could someone tell how to make hyphenation work in plain LuaTeX?
>>
>> I tried something like that
>>
>> <code>
>>
>> \font\test={file:cmunrm.otf}
>
> In theory the following is supposed to select a language in plain TeX:
>     \uselanguage{ngerman}
> but I don't even know how to change the default font in plain LuaTeX,
> so I'm not sure how to test it.
Yes now I able to make luatex hyphenate the German and French text
(though my test text on German is hyphenated not perfectly but this is a
test). Below my complete example now:
<code>
\font\test={file:cmunrm.otf}
\uselanguage{ngerman}
\test
\input sample_de.txt
\bye
</code>
>> \input <text on German>
>>
>> \bye
>> </code>
>
>> P.S. I tried with French as well I got the same error message but for
>> Russian I didn't. Well no hyphenation in either case.
>
> To hyphenate Russian, one would need to fix something in
> luatex/lualatex formats first.
Hm, could you explain a little what the problem is? With font encodings?
After all, these languages are work fine in context (actually mkiv).

P.S. Earlier I posted two question about hyphenation on lualatex-dev
list but without response, so I decide to investigate the problem from
lower level.

---