ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Get section's uservarialbe inside the section
@ 2020-11-07 19:32 Sylvain Hubert
  2020-11-07 19:37 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Sylvain Hubert @ 2020-11-07 19:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Dear List,

I have sections tagged with authors:

    \startsection[title={Title}][author={Author}] ... \stopsection

The authors were to be included in the table of contents using
\structurelistuservariable{author}. Now I would also like to mention the
authors inside the sections, but

    \startsection[title={Title}][author={Author}]
\structurelistuservariable{author} \stopsection

doesn't work.

Could anyone help me with this? Thanks!

Best,
Sylvain

[-- Attachment #1.2: Type: text/html, Size: 682 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: Get section's uservarialbe inside the section
  2020-11-07 19:32 Get section's uservarialbe inside the section Sylvain Hubert
@ 2020-11-07 19:37 ` Wolfgang Schuster
  2020-11-07 21:21   ` Sylvain Hubert
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2020-11-07 19:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Sylvain Hubert schrieb am 07.11.2020 um 20:32:
> Dear List,
> 
> I have sections tagged with authors:
> 
>      \startsection[title={Title}][author={Author}] ... \stopsection
> 
> The authors were to be included in the table of contents using 
> \structurelistuservariable{author}. Now I would also like to mention the 
> authors inside the sections, but
> 
>      \startsection[title={Title}][author={Author}] 
> \structurelistuservariable{author} \stopsection
> 
> doesn't work.
> 
> Could anyone help me with this? Thanks!

\structurelistuservariable is for lists (e.g. the table of contents),
to access the values in your text use \structureuservariable.

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://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: Get section's uservarialbe inside the section
  2020-11-07 19:37 ` Wolfgang Schuster
@ 2020-11-07 21:21   ` Sylvain Hubert
  0 siblings, 0 replies; 3+ messages in thread
From: Sylvain Hubert @ 2020-11-07 21:21 UTC (permalink / raw)
  To: Wolfgang Schuster, mailing list for ConTeXt users


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

On Sat, 7 Nov 2020 at 20:37, Wolfgang Schuster <
wolfgang.schuster.lists@gmail.com> wrote:

> \structurelistuservariable is for lists (e.g. the table of contents),
> to access the values in your text use \structureuservariable.
>

Indeed. Thanks for the help, Wolfgang.

[-- Attachment #1.2: Type: text/html, Size: 606 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:[~2020-11-07 21:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-07 19:32 Get section's uservarialbe inside the section Sylvain Hubert
2020-11-07 19:37 ` Wolfgang Schuster
2020-11-07 21:21   ` Sylvain Hubert

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