[luatex] How do I load hyphenation patterns?
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.
More information about the luatex