ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Sectionnumbering
@ 2014-05-27 13:37 Werner Hintze
  2014-05-27 13:42 ` Sectionnumbering Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Werner Hintze @ 2014-05-27 13:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 496 bytes --]

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...

[-- Attachment #1.2: Type: text/html, Size: 2420 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sectionnumbering
  2014-05-27 13:37 Sectionnumbering Werner Hintze
@ 2014-05-27 13:42 ` Wolfgang Schuster
  2014-05-27 13:56   ` Sectionnumbering Werner Hintze
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2014-05-27 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 766 bytes --]


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

[-- Attachment #1.2: Type: text/html, Size: 3383 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Sectionnumbering
  2014-05-27 13:42 ` Sectionnumbering Wolfgang Schuster
@ 2014-05-27 13:56   ` Werner Hintze
  0 siblings, 0 replies; 3+ messages in thread
From: Werner Hintze @ 2014-05-27 13:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1540 bytes --]

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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 4557 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-27 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-27 13:37 Sectionnumbering Werner Hintze
2014-05-27 13:42 ` Sectionnumbering Wolfgang Schuster
2014-05-27 13:56   ` Sectionnumbering Werner Hintze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).