On Mon, Jun 13, 2011 at 2:12 PM, Steffen Wolfrum <cont...@st.estfiles.de> wrote:
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to