Thank you! It works. But I don't unterstand why. Where can I find informaitons about »setcionsegments«? The wiki seems to have nothing...


2014-05-27 15:42 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:

Am 27.05.2014 um 15:37 schrieb Werner Hintze <w.hintze@me.com>:

I would like to give my own numbers to several chapters. I made this:

\setuphead[chapter]
    [ownnumber=yes]

        

\starttext
    \part{Erster Teil}
    \chapter{3}{Anfang}
    \chapter{6}{Weiter}
\stoptext

But the result is not the dired one. I want to have:

3 Anfang
6 Weiter

But I get

1.3 Anfang
1.6 Weiter

How can I suppress the part number? I searched for two hours or more in the Manual und on the web page and couldn’t find a hint…

You can use the sectionsegments key to choose the counter which are displayed for the header.

\setuphead
  [chapter]
  [ownnumber=yes,
   sectionsegments=chapter]

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________