Am 01.10.2012 um 10:48 schrieb Peter Schorsch <trala...@freenet.de>:

> Thanks Wolfgang,
> 
> the solution with \startchapter and insidesection works fine. 
> 
> I wasn't aware of that \startchapter-stucture at all. Regarding to 
> 
>       "The \startchapter command is recommended over \bookmark as the
>       latter might become obsolete" from
>       http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers

With \startchapter etc. it’s easier to set different texts for the heading, 
header,
bookmarks and table of contents because there is a key for each of them while
for \chapter you can only set one text for all of them. Only with the \bookmark
command you can at least set a different text for the bookmarks.

> is that also the new recommended way of defining chapters instead of
> \chapter{..}?

You can use them but you don’t have to, the old commands while stay but the new
ones but they are helpful when you want endnotes end the end of each chapter 
etc.

When you have a simple structure in your document you can use \startsectionlevel
instead of \startchapter, \startsection etc. for your headings because the 
command
switches always to the next heading (chapter -> section -> subsection).

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
___________________________________________________________________________________

Reply via email to