Re: referencing line numbers of a typing environment
![](https://secure.gravatar.com/avatar/1232667a969c42fe0b5873862eca7035.jpg?s=120&d=mm&r=g)
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.
Any hint is welcome
Marko, I can't even get the documented example to work: ----- \startbuffer \starttyping test//test test/BTEX \footnote{test test test}/ETEX test test//test test/BTEX \footnote{test test test}/ETEX test test test test/BTEX \bf(nota bene)/ETEX test test test test /BTEX \bf(nota bene)/ETEX test \stoptyping \stopbuffer \starttext \bgroup\setuptyping[option=commands]\getbuffer\egroup \stoptext ----- If you can't either, then either you or I are going to have to learn how to submit a bug report.
![](https://secure.gravatar.com/avatar/6af1f724a401c9f6f746a973f33ff595.jpg?s=120&d=mm&r=g)
Guy Worthington
Marko, I can't even get the documented example to work:
----- \startbuffer \starttyping test//test test/BTEX \footnote{test test test}/ETEX test test//test test/BTEX \footnote{test test test}/ETEX test test test test/BTEX \bf(nota bene)/ETEX test test test test /BTEX \bf(nota bene)/ETEX test \stoptyping \stopbuffer
\starttext \bgroup\setuptyping[option=commands]\getbuffer\egroup \stoptext -----
If you can't either, then either you or I are going to have to learn how to submit a bug report.
Go ahead :) IMO this should work. Patrick
participants (2)
-
Guy Worthington
-
Patrick Gundlach