[luatex] Hyphenation in plain TeX

Vladimir Lomov lomov.vl at gmail.com
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>
>> \input luaotfload.sty
>> \font\test={file:cmunrm.otf}
>> \input loadhyph-de-1996.tex
> 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.
Your knowledge about the theory is correct :)
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:
\input luaotfload.sty
\input sample_de.txt
>> \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.

WBR, Vladimir Lomov

Good morning.  This is the telephone company.  Due to repairs, we're
giving you advance notice that your service will be cut off indefinitely
at ten o'clock.  That's two minutes from now.

More information about the luatex mailing list