ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* numbered labels
@ 2002-06-18  8:24 Kris Hermans
  2002-06-23 11:15 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Kris Hermans @ 2002-06-18  8:24 UTC (permalink / raw)


Hello,

I'm trying the example in section 10.5 of the english ConTeXt reference
manual. I first define the label "video", which I use and later on I want to
refer to this label:

\starttext

\definelabel[video][text=video,location=inmargin]

This defines \type{\video} \video, that results in a numbered blablabla.
This is a nice and exciting video blablabla.

In this paragraph I want to reference to \currentvideo[0]

\stoptext

However, the systems reports an "undefined control sequence: \currentvideo"
What am I doing wrong here? How can I refer back to that particular video
label?

thanks,

Kris.


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Numbered Labels
@ 2009-12-26 11:54 Wolfgang Murth
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Murth @ 2009-12-26 11:54 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'



Hi all,

For a rulebook I wanted to use numbered labels in the margin for each rule like in the manual in chapter 10.5. But I dont get the
chapter or section number before the rulenumber. I.e. I only get "Rule 2" instead of "Rule 4.2". How can i manage this? In the Wiki
are no hints about that. Below a minimal example of what I tried.

Thanks for your help.

With sunny greetings from Austria

Wolfgang Murth

%------------------------------------------------------------------
\definelabel[rule][text=Rule,location=inmargin,before=, after=, way=bysection]


\starttext

\chapter{test}
\rule this is  a simple test
\section{Section A}
\rule[1] this is  a simple test

\rule this is  a simple test

\rule this is  a simple test

\rule this is  a simple test

\rule this is  a simple test

\section{Section B}
\rule this is  a simple test

\rule this is  a simple test

\rule this is  a simple test

\rule this is  a simple test

\stoptext
%------------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

end of thread, other threads:[~2009-12-26 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18  8:24 numbered labels Kris Hermans
2002-06-23 11:15 ` Hans Hagen
2009-12-26 11:54 Numbered Labels Wolfgang Murth

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