ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* referencing line numbers of a typing environment
@ 2003-04-05 18:12 Marko Schuetz
  2003-04-07 17:00 ` Patrick Gundlach
  0 siblings, 1 reply; 10+ messages in thread
From: Marko Schuetz @ 2003-04-05 18:12 UTC (permalink / raw)


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

Thanks

Marko

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: referencing line numbers of a typing environment
@ 2003-04-07  5:45 Guy Worthington
  2003-04-16  7:56 ` Patrick Gundlach
  0 siblings, 1 reply; 10+ messages in thread
From: Guy Worthington @ 2003-04-07  5:45 UTC (permalink / raw)


Marko Schuetz <MarkoSchuetz@web.de> writes:

> 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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-04-16  7:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-05 18:12 referencing line numbers of a typing environment Marko Schuetz
2003-04-07 17:00 ` Patrick Gundlach
2003-04-07 17:35   ` Marko Schuetz
2003-04-07 18:22     ` Marko Schuetz
2003-04-08 14:52       ` Marko Schuetz
2003-04-08 16:37         ` Hans Hagen
2003-04-08 17:00           ` Marko Schuetz
2003-04-08 17:49             ` Patrick Gundlach
2003-04-07  5:45 Guy Worthington
2003-04-16  7:56 ` Patrick Gundlach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).