[NTG-context] How to quote the section names in advance like the table of contents?
Sylvain Hubert
champignoom at gmail.com
Sat Nov 7 18:37:56 CET 2020
Hi Pablo,
thanks for the suggestion, but I was looking for an automated method for
writing a module, therefore manual reference is not feasible here.
Sylvain
On Sat, 7 Nov 2020 at 16:46, Pablo Rodriguez <oinos at gmx.es> wrote:
> 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20201107/d4c55a36/attachment.htm>
More information about the ntg-context
mailing list