\defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]
\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
\defineparagraphs[TwoCols][n=2,before=,after=]
\starttext
\startTwoCols
\startcode
one
two
three
\stopcode
\TwoCols
hum
\stopTwoCols
\stoptext
I've tried to use the command "\definelinenumbering" without success.
I don't know what happened...
\defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,tab=2]
\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
--
Universite de Limoges, Laboratoire XLIM | Tel : 06 28 18 03 38
123 av Albert Thomas | Mrs. Peel, we're needed...
87060 Limoges CEDEX - FRANCE | The Avengers.