hi!

i want to achieve the effect i see when using the following code, only in a semantically correct way (and without defining a \MyHeader macro like in some examples)

\setuphead[section][numbercommand=\headtext{section}~]
\setupheadtext[de][section=Aufgabe]
\def\task{\section{}}

so if my document looks like

\starttext
\task
\task
\stoptext

this should render to:

Aufgabe 1

Aufgabe 2

(i hope the mailing list delivers html mail)

And maybe somebody knows a cool way to do this:

\starttext
\task
\task[Graphs]
\stoptext

↓↓↓↓

Aufgabe 1

Aufgabe 2: Graphs

thank you!