On 11/7/20 4:32 PM, Sylvain Hubert wrote:
> Dear List,
>
> say I have three sections in the document:
>
> \section{foo} ... \section{bar} ... \section{baz} ...
>
> Now I would like to auto generate a heavily customized table of contents
> like the following text, which cannot be done by the stock \placecontent
> in general, and put it into the preface:
>
> This book has 3 sections: foo, bar, and baz.
How about the following?
\starttext
as in \about[section-one], \about[section-two],
\about[section-three]...
\section[section-one]{Section One}
\section[section-two]{Section Two}
\section[section-three]{Section Three}
\stoptext
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________