Am 10.12.2012 um 16:26 schrieb Troy Henderson <thend...@gmail.com>:

> I would like for my section headers to have the following format:
> 
> Section 1 -- First Section
> Section 2 -- Second Section
> ...
> 
> and I would also like for enumeration lists, for example
> 
> \startitemize[n]
>    \item Foo
>    \item Bar
> \stopitemize
> 
> to look like
> 
> 1-1 Foo
> 1-2 Bar
> 
> where the "1-" is the section number in which the itemize resides.


Provide a minimal example next time.

\setuplabeltext[section=Section~]

\setuphead
  [section]
  [sectionstopper=~–~,
   distance=0pt]

\setupitemgroup
  [itemize]
  [prefix=yes,
   width=2em]

\starttext

\section{First Section}

\startitemize[n]
   \item Foo
   \item Bar
\stopitemize

\section{Second Section}

\startitemize[n]
   \item Foo
   \item Bar
\stopitemize

\stoptext

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