Am 22.04.2011 um 16:36 schrieb Reviczky, Adam:

> I've added this to the wiki, because I had a look at it earlier on but didn't 
> find anything regarding the labels in setuphead.

With the next beta you can the correct labeltexts in the TOC without the need 
of an extra command like \appendix.

You can control the behavior with label key from \setuplist, the valid 
arguments are:

- no    : use the argument of the starter and stopper keys but don’t print 
labels
- EMPTY : a empty argument “label=” results in the same output as “label=no”
- none  : don’t print labels and ignore also the starter and stopper keys
- yes   : use the labels from the sectionblock where the heading was used
- NAME  : use a label with the given name

Example:

\setuplabeltext[en] [chapter=Chapter ]
\setuplabeltext[en][appendix=Appendix ]
\setuplabeltext[en] [section=Section ]

\setuplist[chapter][starter=(,stopper=),width=6em]

\starttext

\startfrontmatter

\completecontent[label=no] % default
\completecontent[label=]
\completecontent[label=none]
\completecontent[label=yes]
\completecontent[label=section]
\stopfrontmatter

\startbodymatter
\chapter{Bodypart}
\stopbodymatter

\startappendices
\chapter{Appendix}
\stopappendices

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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