[NTG-context] \section with userdata

Sylvain Hubert champignoom at gmail.com
Sat Nov 7 22:42:26 CET 2020

The motivation of using \section was to avoid \stopsection, but I just
found out that \stopsection is not really necessary.

Now I would like to ask whether there is any difference between
\section{Title} and \startsection[title=Title].


On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert <champignoom at gmail.com> wrote:

> Dear List,
> it is known that we can supply additional userdata like authors to
> \startsection:
>     \startsection[title=Title][author=Someone]
> so that the author can be included in the table of contents using
> \structurelistuservariable{author}.
> Now I would like to do the same with \section, but according to the wiki
> <https://wiki.contextgarden.net/Command/_section>, \section doesn't seem
> to accept any additional parameters like \startsection does.
> Does anyone know whether there is a workaround to let \section accept
> userdata parameters?
> Thanks!
> Best,
> Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201107/eb1c04bf/attachment.htm>

More information about the ntg-context mailing list