[NTG-context] Get section's uservarialbe inside the section

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Sat Nov 7 20:37:23 CET 2020


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


More information about the ntg-context mailing list