[luatex] How do I load hyphenation patterns?
Apostolos Syropoulos
asyropoulos at yahoo.com
Mon Apr 11 21:08:47 CEST 2016
> > In all the time it's taken you to write these emails, you could have
> looked up the documentation.
>
> langobject = lang.new()
> pattfile = io.open(kpse.find_file('hyph-el-polyton.pat.txt'), 'r')
> lang.patterns(langobject, pattfile:read('*all'))
> tex.print '\\language' .. lang.id(langobject)
>
First of all I apologize because I am stupid and I did not check out the
manual. Second I guess I have to remember which file is which because I
have nothing better to do. Third, no this is not a solution but a poor hack!
Thank you very much for the responses.
A.S.
----------------------
Apostolos Syropoulos
Xanthi, Greece
More information about the luatex
mailing list