[luatex] How do I load hyphenation patterns?

Arthur Reutenauer arthur.reutenauer at normalesup.org
Mon Apr 11 20:51:12 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)

  Best,

	Arthur


More information about the luatex mailing list