Hans Hagen j.hagen at xs4all.nl
Sun May 20 17:02:08 CEST 2018

On 5/19/2018 10:27 PM, Luis Rivera wrote:
> I'm trying to understand how to load a new set of language patterns in
> plain luatex. This far, I collect I have to do
>
> %%%
> \directlua{
> grc = lang.new()

grc = lang.new(123)

> pattfile = io.open(kpse.find_file('grchyph.tex'), 'r')
> pattfile:close()
> }
>
> \def\greek{\language\grc}

\def\greek{\language123 }

> \greek χαῖρε
> \bye
> %%%
>
> But then I don't know how to access the patterns with a language declaration.
>
> I'm sorry, but I fear the documentation is far too terse on this topic
> for a non-programmer. Any hints are welcome.
it assumes that you know tex (programming)

Hans

-----------------------------------------------------------------