[luatex] find breakpoints in a word
patrick at gundla.ch
Thu Jun 23 10:59:09 CEST 2011
I'd like to find out the breakpoints of a word (with Lua), such as
The ideal solution would be to get a string like "of-fice".
I think I can do a call to tex.hyphenation and analyze the nodelist afterwards. But perhaps there is a clean solution already present.
BTW: what is preferred: tex.lccode[x]=y or tex.setlccode(x,y)?
More information about the luatex