[NTG-context] Numbering in Table of Content

Cedric Mauclair cedric.mauclair at gmail.com
Thu Aug 12 08:41:24 CEST 2010


Hi,

You could also use the \chapter command but in the front matter as it
has no number there (and do not increment the counter either).

Best regards.

-- Cédric



On Thu, Aug 12, 2010 at 03:08, Martin Althoff <martin.althoff at yahoo.com> wrote:
>> Basically I need a few
>> unnumbered entries at the top of the table (like abstract,
>> acknowledgements, etc)
>
> Rio,
>
> I handle this through using the unnumbered sectioning (\title, \subject..) and then a
>
> \definecombinedlist [content][title,chapter]
>
> Essentially you add "title" to the already predefined list or combindedlist "content". Read contextref for details. This then generates a TOC with \completecontent which includes the unnumbered sections/headers.
>
> Regarding the numbering, you might gleen that from the sample document here:
>
> http://wiki.contextgarden.net/Biochemistry_textbook
>
>
> It all kind of goes like this:
>
> \starttext
>
> \startfrontmatter
> \setuppagenumbering[conversion=romannumerals]
> \completecontent
> \stopfrontmatter
>
> \startbodymatter
> \setuppagenumbering[conversion=]
> \setuppagenumber[number=1]
> \title {Introduction}
> \dorecurse{5}{\input tufte\par}
> \chapter{Some Stuff}
> \dorecurse{5}{\input tufte\par}
> \stopbodymatter
> \stoptext
>
>
> best, Martin
>
>
>
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


More information about the ntg-context mailing list