ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Referencing a \startdefinition
@ 2012-01-18  2:07 Kip Warner
  2012-01-18  3:06 ` Vladimir Lomov
  2012-01-18  7:36 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Kip Warner @ 2012-01-18  2:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hey list,

When I wish to reference some section, I can inline typeset with
\in{section}[Some Reference]. In the case of a definition defined with a
\startdefinition{Some Definition}, how can I reference it inline?

-- 
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] 5+ messages in thread

* Re: Referencing a \startdefinition
  2012-01-18  2:07 Referencing a \startdefinition Kip Warner
@ 2012-01-18  3:06 ` Vladimir Lomov
  2012-01-18  7:38   ` Wolfgang Schuster
  2012-01-18  7:36 ` Wolfgang Schuster
  1 sibling, 1 reply; 5+ messages in thread
From: Vladimir Lomov @ 2012-01-18  3:06 UTC (permalink / raw)
  To: ntg-context

Hello,
** Kip Warner [2012-01-17 18:07:18 -0800]:

> Hey list,

> When I wish to reference some section, I can inline typeset with
> \in{section}[Some Reference]. In the case of a definition defined with a
> \startdefinition{Some Definition}, how can I reference it inline?
I could be wrong but from 'strc-des.mkiv'

%D TODO: commandhandler
%D TODO: \startxxx[reference=...]

So, answer could "not yet implemented".

---
WBR, Vladimir Lomov

-- 
I distrust a man who says when.  If he's got to be careful not to drink
too much, it's because he's not to be trusted when he does.
		-- Sidney Greenstreet, "The Maltese Falcon"
___________________________________________________________________________________
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] 5+ messages in thread

* Re: Referencing a \startdefinition
  2012-01-18  2:07 Referencing a \startdefinition Kip Warner
  2012-01-18  3:06 ` Vladimir Lomov
@ 2012-01-18  7:36 ` Wolfgang Schuster
  2012-01-18 23:13   ` Kip Warner
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-01-18  7:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 18.01.2012 um 03:07 schrieb Kip Warner:

> Hey list,
> 
> When I wish to reference some section, I can inline typeset with
> \in{section}[Some Reference]. In the case of a definition defined with a
> \startdefinition{Some Definition}, how can I reference it inline?

\startdefinition[des:some]{Some Definition}
…
\stopdefinition

\in{Definition}[des:some]

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] 5+ messages in thread

* Re: Referencing a \startdefinition
  2012-01-18  3:06 ` Vladimir Lomov
@ 2012-01-18  7:38   ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-01-18  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 18.01.2012 um 04:06 schrieb Vladimir Lomov:

> Hello,
> ** Kip Warner [2012-01-17 18:07:18 -0800]:
> 
>> Hey list,
> 
>> When I wish to reference some section, I can inline typeset with
>> \in{section}[Some Reference]. In the case of a definition defined with a
>> \startdefinition{Some Definition}, how can I reference it inline?
> I could be wrong but from 'strc-des.mkiv'
> 
> %D TODO: commandhandler
> %D TODO: \startxxx[reference=...]
> 
> So, answer could "not yet implemented".

No, this is only a note to swith from

   \startxxx[<reference>]{<title>}

to

   \startxxx[reference=…,title=…]

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] 5+ messages in thread

* Re: Referencing a \startdefinition
  2012-01-18  7:36 ` Wolfgang Schuster
@ 2012-01-18 23:13   ` Kip Warner
  0 siblings, 0 replies; 5+ messages in thread
From: Kip Warner @ 2012-01-18 23:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On Wed, 2012-01-18 at 08:36 +0100, Wolfgang Schuster wrote:
> \startdefinition[des:some]{Some Definition}
> 
> \stopdefinition
> 
> \in{Definition}[des:some]
> 
> Wolfgang

Hey Wolfgang. That works, but in the text I would just see linkable text
"Definition" which is fine for online viewing, but for print, which is
what I need to, I'd like it to be something like "some in section 10.2".
Can that be done? 

-- 
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] 5+ messages in thread

end of thread, other threads:[~2012-01-18 23:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-18  2:07 Referencing a \startdefinition Kip Warner
2012-01-18  3:06 ` Vladimir Lomov
2012-01-18  7:38   ` Wolfgang Schuster
2012-01-18  7:36 ` Wolfgang Schuster
2012-01-18 23:13   ` 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).