[NTG-context] luatex feature question/request

Taco Hoekwater taco at elvenkind.com
Fri Apr 4 22:20:06 CEST 2008


Peter Münster wrote:
> 
> Hello,
> 
> Perhaps this one could be already useable for the OP:
> 
> function add_ties(line)
> 	line = line:gsub('( %a) ', '%1~')
> 	line = line:gsub('^(%a) ', '%1~')
> 	line = line:gsub('( %a)$', '%1~%%')
> 	return line
> end

Hey! Luigi promised you were all adults! :-)

Cheers, Taco


More information about the ntg-context mailing list