13 Jun
2011
13 Jun
'11
1:58 p.m.
Am 13.06.2011 um 15:40 schrieb luigi scarso:
Where is the difference ?
The TeX solution is faster. \define[1]\ThisHelps {\handletokens#1\with{\hskip 0pt plus .1pt\firstofoneargument}} \define[1]\ThisHelpsLuigi {\startluacode s='#1' s= string.gsub(s,'(.)',"\%1\\hskip 0sp plus .1pt") context(s) \stopluacode} \showframe \starttext \testfeatureonce{10000}{\ThisHelps {abcde123xyz}}% \testfeatureonce{10000}{\ThisHelpsLuigi{abcde123xyz}} \stoptext Wolfgang