From: Marko Schuetz
Patrick,
From: Patrick Gundlach
Subject: [NTG-context] Re: referencing line numbers of a typing environment Date: Mon, 07 Apr 2003 19:00:10 +0200 [..]
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
Yes, it works. I thought I had tried this, then noticed I had always tested this within my project, product, and environment. Seems there are some interferences...
It's not my environment... I narrowed it down to this \starttext \setuptyping[option=commands] \starttyping cout << "Test!"; \stoptyping \stoptext This does not work here. TeX stops at a *-prompt. Marko