ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to get reference label from stacked itemize
@ 2019-04-06 14:51 Floris van Manen
  2019-04-06 15:04 ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Floris van Manen @ 2019-04-06 14:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Could someone point me to the docs where to find the proper way to
make a reference to some stacked itemize context?


\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item B Test
\stopitemize
\stopitemize

how to label / ref the generated label for item 2.b ?

see (2.b) Test



Thanks!
.Floris van Manen



[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to get reference label from stacked itemize
  2019-04-06 14:51 how to get reference label from stacked itemize Floris van Manen
@ 2019-04-06 15:04 ` Henning Hraban Ramm
  2019-04-06 15:40   ` Floris van Manen
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2019-04-06 15:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2019-04-06 um 16:51 schrieb Floris van Manen <vm@klankschap.nl>:

> Could someone point me to the docs where to find the proper way to
> make a reference to some stacked itemize context?
> 
> 
> \startitemize[n]
> \item One
> \item Two
> \startitemize[a]
> \item A
> \item B Test
> \stopitemize
> \stopitemize
> 
> how to label / ref the generated label for item 2.b ?
> 
> see (2.b) Test

Did you try \item[myref] and \in[myref]?


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* how to get reference label from stacked itemize
  2019-04-06 15:04 ` Henning Hraban Ramm
@ 2019-04-06 15:40   ` Floris van Manen
  0 siblings, 0 replies; 3+ messages in thread
From: Floris van Manen @ 2019-04-06 15:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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


> Did you try \item[myref] and \in[myref]?
> 

This will do the job indeed.

\starttext
\startitemize[n]
\item One
\item[refTwo] Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize
\stopitemize

see (\in[refTwo].\in[refB]) for Test



Is there some construction to combine an item reference with its parent item?

\startitemize[n]
\item One
\item Two
\startitemize[a]
\item A
\item[refB] B Test
\stopitemize

see (\in[parent, refB].\in[refB]) for Test



[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2019-04-06 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 14:51 how to get reference label from stacked itemize Floris van Manen
2019-04-06 15:04 ` Henning Hraban Ramm
2019-04-06 15:40   ` Floris van Manen

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