Hi,

I'd like to find out the breakpoints of a word (with Lua), such as 

\showhyphens{office}

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.

Patrick


BTW: what is preferred: tex.lccode[x]=y or tex.setlccode(x,y)?



Reply via email to