[NTG-context] structureuservariable in ToC

Wolfgang Schuster schuster.wolfgang at gmail.com
Tue Jan 23 21:24:39 CET 2018


> Henning Hraban Ramm <mailto:texml at fiee.net>
> 14. Januar 2018 um 21:44
> Now, my second issue with user variables:
>
> """
> \define[1]\ChapterTocEntry{%
> \doifnotempty{\structureuservariable{author}}{\structureuservariable{author}\crlf 
> }%
> #1%
> \doifnotempty{\structureuservariable{subtitle}}{\crlf\structureuservariable{subtitle}}}
To access the variables in a list you have to use the 
\structurelistuservariable command.

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20180123/7f391098/attachment.html>


More information about the ntg-context mailing list