Marko Schuetz
I usually present C/C++ code in a typing environment. If I need to frequently reference statements I put a line number environment around that. Now I would like to use line numbers and experimented a bit with \setuptyping[option=commands,escape=/], but did not yet get the desired results.
what about this? \starttext \setuptyping[option=commands] \startlinenumbering \starttyping Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse /startline[line:a]molestie, lorem nec tempor condimentum, enim pede sollicitudin /blackrule ante, non mollis est lectus et ligula. Integer at libero. Fusce sagittis magna vel libero. Sed ut quam. /startline[line:b]Sed faucibus purus in sem. Phasellus ut \stoptyping \stoplinenumbering See \inline [line:a] and \inline[line:b] \stoptext Patrick