[NTG-context] Assigning a variable to the list argument in \setupsection

Michael Guravage guravage at gmail.com
Thu Apr 14 09:46:34 CEST 2016


I would like to use a variable for the value of the list argument in, e.g.,
the \startsection command. If you compile my little example you will see
that the first 'literal' assignment works, while the second 'variable'
assignment does not. What am I missing here?





  \setvariables[TOC][list=Second Section]

  \startsection [title={First}, list={First Section}]
    This is the first section.

  \startsection [title={Second}, list={\getvariable{TOC}{list}}]
    This is the \getvariable{TOC}{list}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160414/a7aa81ec/attachment.html>

More information about the ntg-context mailing list