13 Jun
2011
13 Jun
'11
2:19 p.m.
On Mon, Jun 13, 2011 at 2:12 PM, Steffen Wolfrum
Hi,
say I have arbitrary string of alphanumeric characters:
\starttext
\showframe
9769387937933hhgiuiuziuziduzid93739837fhieuhifeuhfeiu39739837938398zfhfdkuhfiufhz398739837r98z379dihhfiu
\stoptext In mkiv make a lua script using gsub, i.e. something like s='9769387937933hhgiuiuziuziduzid93739837fhieuhifeuhfeiu39739837938398zfhfdkuhfiufhz398739837r98z379dihhfiu' s= string.gsub(s,'(.)',"%1\\hskip0sp")
\starttext \startluacode s='9769387937933hhgiuiuziuziduzid93739837fhieuhifeuhfeiu39739837938398zfhfdkuhfiufhz398739837r98z379dihhfiu' s= string.gsub(s..s..s,'(.)',"%1\\hskip0sp") context(s) \stopluacode \stoptext -- luigi