ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem Citing a Definition
@ 2012-01-31  5:02 Kip Warner
  2012-01-31 14:18 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Kip Warner @ 2012-01-31  5:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 586 bytes --]

Hey list,

I am trying to cite a definition typeset with a
\startdefinition[definition:foo] and \stopdefinition pair. I am doing
this by using a  \in{definition}[definition:foo]. That works, but in
the text I just see linkable text "definition". 

I'd like it to be more descriptive of the physical location in the
book, e.g. "foo in section 10.2". It was my impression according to the
manual that it was suppose to already do that, or am I not using \in
correctly?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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

* Re: Problem Citing a Definition
  2012-01-31  5:02 Problem Citing a Definition Kip Warner
@ 2012-01-31 14:18 ` Wolfgang Schuster
  2012-01-31 23:52   ` Kip Warner
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-01-31 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 31.01.2012 um 06:02 schrieb Kip Warner:

> Hey list,
> 
> I am trying to cite a definition typeset with a
> \startdefinition[definition:foo] and \stopdefinition pair. I am doing
> this by using a  \in{definition}[definition:foo]. That works, but in
> the text I just see linkable text "definition". 
> 
> I'd like it to be more descriptive of the physical location in the
> book, e.g. "foo in section 10.2". It was my impression according to the
> manual that it was suppose to already do that, or am I not using \in
> correctly?

The result of the \in command depends on the referenced object,
when you refer to a section or enumeration you get the number of
the section or enumeration but when you refer to something without
a number you get the stored text etc., e.g. \textreference[foo]{This is the text!}
print “This is the text!”.

For enumerations, floats etc. you can use the section number as prefix for
the objects own counter but there is no way AFAIK to get way you described.

Wolfgang

___________________________________________________________________________________
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

* Re: Problem Citing a Definition
  2012-01-31 14:18 ` Wolfgang Schuster
@ 2012-01-31 23:52   ` Kip Warner
  0 siblings, 0 replies; 3+ messages in thread
From: Kip Warner @ 2012-01-31 23:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 492 bytes --]

On Tue, 2012-01-31 at 15:18 +0100, Wolfgang Schuster wrote:
> For enumerations, floats etc. you can use the section number as prefix for
> the objects own counter but there is no way AFAIK to get way you described.

I tried using \in{page \at{definition:foo}}[definition:foo], but it
would look better with the section number prefixed instead. How would I
go about doing that?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2012-01-31 23:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-31  5:02 Problem Citing a Definition Kip Warner
2012-01-31 14:18 ` Wolfgang Schuster
2012-01-31 23:52   ` Kip Warner

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