On Mon, Jun 3, 2013 at 8:07 PM, honyk <j.tosovsky@email.cz> wrote:
Marco,

thanks a lot, it gives me exactly what I wanted!

But to be honest, I expected a single option for this :-)


\setuplabeltext[en][chapter=Chapter~]

% while for chapter title this line break is handy (in my use case)
\setuphead[chapter][
        alternative=middle,
        style=\bfc,
        conversion=Romannumerals,
        numbercommand=\groupedcommand{\cap}{\blank[0.5cm]},
        after={\blank[1cm]},
        ]

% for section it is inappropriate
\setuphead[section][
        align=middle,
        style=\bfa,
        sectionsegments=section, % ignore component label
        ]

\starttext
\chapter{Foo}
\section{The First Section}
Text.
\stoptext

But again, are you sure about the \cap command ?
It also sets the CHAPTER as small caps .

--
luigi